在使用框架时引入了element-ui库,但是页面渲染不出来,但是使用naive-ui样式就可以正常渲染!
使用的框架https://github.com/zclzone/vue-naive-admin
报错
bsbar.vue:33 Uncaught (in promise) TypeError: Cannot set properties of null (setting 'style')
at selecetChap (Tabsbar.vue:33:1)
at Tabsbar.vue:48:1
at runtime-core.esm-bundler.js:2757:40
at callWithErrorHandling (runtime-core.esm-bundler.js:173:22)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:182:21)
at hook.__weh.hook.__weh (runtime-core.esm-bundler.js:2731:29)
at flushPostFlushCbs (runtime-core.esm-bundler.js:359:32)
at flushJobs (runtime-core.esm-bundler.js:413:9)
s
代码:
这个报错不是elementui的报错吧