vuejs / docs

📄 Documentation for Vue 3

Home Page:https://vuejs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ref回调错误

zi99xiao opened this issue · comments

我在本地运行一个vite+vue3+ts的项目时,一开始新增和编辑都是正常的,包括其他菜单里的新增和删除也是正常的,但后面某一个菜单里的编辑就会出现如下错误:
index.vue:224 [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .
at <AddEdit title="编辑" loading=false ref="addRef" ... >
at
at <Index onVnodeUnmounted=fn ref=Ref< Proxy(Object) {__v_skip: true} > >
at
at
但其他菜单里的却是正常的,并且如果打包后运行也是正常的,同时我在本地运行时是成功获取到数据的,但它却走到了另外一个ref,导致传递的数据为空了