报错信息

Uncaught TypeError: Cannot read properties of undefined (reading 'deep')
at withDirectives (runtime-core.esm-bundler.js:2774:17)
at Proxy._sfc_render (App.vue:4:26)
at renderComponentRoot (runtime-core.esm-bundler.js:902:44)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5615:57)
at ReactiveEffect.run (reactivity.esm-bundler.js:187:25)
at instance.update (runtime-core.esm-bundler.js:5729:56)
at setupRenderEffect (runtime-core.esm-bundler.js:5743:9)
at mountComponent (runtime-core.esm-bundler.js:5525:9)
at processComponent (runtime-core.esm-bundler.js:5483:17)
at patch (runtime-core.esm-bundler.js:5085:21)

 

解决方法

1.查看v-text v-html v-model v-if v-show等指令是否写的正确 或者自定义的指令是否正确

2.在main.js中查看代码是否有写重复

 

 我这里是有重复的代码,app挂载了两次