小编Jah*_*wer的帖子

未捕获(承诺中)类型错误:无法读取未定义的属性“catch”

我试图在组件中使用 vue3.0.0 延迟加载,但收到一些警告。\n当我想在父组件中获取该特定组件时,我收到此错误。我的意思是,当我单击以显示子组件时,我收到以下错误。在错误下我添加了我的代码。请帮我。我不是很专业。

\n
runtime-core.esm-bundler.js?5c40:38 \n[Vue warn]: Unhandled error during execution of setup function \n  at <AsyncComponentWrapper key=0 > \n  at <Profile onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy\xc2\xa0{\xe2\x80\xa6} > > \n  at <RouterView> \n  at <App>\nruntime-core.esm-bundler.js?5c40:38 \n[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next \n  at <AsyncComponentWrapper key=0 > \n  at <Profile onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy\xc2\xa0{\xe2\x80\xa6} > > \n  at <RouterView> \n  at <App>\n
Run Code Online (Sandbox Code Playgroud)\n

这个错误也

\n
runtime-core.esm-bundler.js?5c40:2492 …
Run Code Online (Sandbox Code Playgroud)

lazy-loading vue.js vuejs3

5
推荐指数
1
解决办法
3379
查看次数

标签 统计

lazy-loading ×1

vue.js ×1

vuejs3 ×1