topmaxz opened this issue 2 years ago · 4 comments
vue2工程升级到2.7后原v-charts页面会报错,如下图所示
打印this时也发现没有_watchers属性,只有_watcher
希望尽快修复该错误,应该是比较简单的
same error
@topmaxz @fyzhu @cuimaomao0123 修复看这里 #935 (comment)
提供一个不修改源码的思路
在App入口文件, Vue对象实例化之前, 加入
Vue._watchers = Vue.prototype._watchers = []
多个Vue对象同理