TypeError: Cannot read properties of undefined (reading 'map')
来源:3-3 v-charts 组件库入门
晓之蛇
2022-11-15
图表正常展示,但控制台提示下面的错误,请问如何解决?
[Vue warn]: Error in created hook: "TypeError: Cannot read properties of undefined (reading 'map')"

写回答
2回答
-
慕先生8083473
2023-04-14
找到main.js
在new Vue之前加上这一句
Vue._watchers = Vue.prototype._watchers = []
10 -
JavaScript__yxq
2023-01-10
俺也一样
00
相似问题