报错及解决

v-charts 报错

v-charts 报错 Cannot read properties of undefined (reading 'map')

这是 v-charts 官方未解决的bug
解决: 在main.js中实例化Vue之前加入代码Vue._watchers = Vue.prototype._watchers = []