You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.js:2 TypeError: Object(...) is not a function
at eval (index.esm.min.js:10:2780)
at ./node_modules/vue-echarts/dist/index.esm.min.js (0.js:250:1)
at __webpack_require__ (app.js:838:30)
at fn (app.js:130:20)
at eval (cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./node_modules/webpack-code-inspector-plugin/dist/loader.js?!./src/components/echarts/BarChartComponent.vue?vue&type=script&lang=js:6:69)
at ./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./node_modules/webpack-code-inspector-plugin/dist/loader.js?!./src/components/echarts/BarChartComponent.vue?vue&type=script&lang=js (page.js:11:1)
at __webpack_require__ (app.js:838:30)
at fn (app.js:130:20)
at eval (BarChartComponent.vue:1:1)
at ./src/components/echarts/BarChartComponent.vue?vue&type=script&lang=js (page.js:456:1)
请确认
您是如何将 Vue-ECharts 引入项目的?
通过 ES 模块 import
版本信息
问题详情
访问 vue 页面报错:
package.json 配置如下:
引入的子组件是这样写的:
问题复现
暂时没有,线上 demo 报错了,正在解决,麻烦先看看我的配置有没有问题呢
The text was updated successfully, but these errors were encountered: