Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#946·v-charts

提供一个不修改源码的思路

Author: laijiangyuCreated Sep 8, 2024Updated Sep 8, 2024

提供一个不修改源码的思路

在App入口文件, Vue对象实例化之前, 加入

Vue._watchers = Vue.prototype._watchers = []

多个Vue对象同理

Originally posted by @Hwacc in https://github.com/ElemeFE/v-charts/issues/935#issuecomment-1408164064

Source: ElemeFE/v-charts

View original on GitHubView discussion on GitHub