Skip to content

defineProps导致热更新失效 #10556

@songpeng154

Description

@songpeng154

Vue version

3.4.21

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-rckp9s?file=package.json,src%2FApp.vue,src%2Ftype.ts&terminal=dev

Steps to reproduce

当 defineProps 使用泛型的时候,你在当前组件的任何操作都会导致热更新失败,必须的重启项目,去掉泛型一切都正常

What is expected?

热更新正常

What is actually happening?

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions