问题:
? ? ? ??vue3+vite3.0中,在 el-table 中使用 v-loading 后,控制台出现错误:
runtime-core.esm-bundler.js:2764 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'deep') ? ? at withDirectives (runtime-core.esm-bundler.js:2764:17) ? ? at Report.vue:214:1 ? ? at renderFnWithContext (runtime-core.esm-bundler.js:853:21) ? ? at renderSlot (runtime-core.esm-bundler.js:2968:55) ? ? at Proxy.<anonymous> (card.vue:21:1) ? ? at renderComponentRoot (runtime-core.esm-bundler.js:896:44) ? ? at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5580:57) ? ? at ReactiveEffect.run (reactivity.esm-bundler.js:185:25) ? ? at instance.update (runtime-core.esm-bundler.js:5694:56) ? ? at setupRenderEffect (runtime-core.esm-bundler.js:5708:9)
?处理:
???????删除?package.json ?中的?"type": "module" 。
?
|