找不到Map是组件bug:在main.js中加入:
Vue._watchers = Vue.prototype._watchers = []; //v-charts组件出现(undefined (reading ‘map‘)bug解决方案
文章介绍了在遇到v-charts组件报错undefined(readingmap)时的一种解决方案,即在main.js文件中添加Vue._watchers=Vue.prototype._watchers=[],这有助于修复组件中Map未定义的问题。
找不到Map是组件bug:在main.js中加入:
Vue._watchers = Vue.prototype._watchers = []; //v-charts组件出现(undefined (reading ‘map‘)bug解决方案