-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
引入任意图表的时候报错 :map undefined #935
Comments
同样错误,我怀疑是不支持最新 vue3,vue2 测试没问题 |
同样遇到这个问题 官方不打算修复吗 |
都四年没有更新了 |
官方不更新了,直接修改源码 |
@Meqn v-charts/lib/core.js内部this._watchers这块要如何改? |
找到 文件
|
@Meqn 好的,多谢 |
@vue/cli 5.0.8 目前發現 this._watchers 為 undefined 執行 map() 時報錯,+ 加入 *** 判斷條件 ***,改完不會執行 map() 報錯但不保證這樣修改後一定都不會有問題!
|
提供一个不修改源码的思路 在App入口文件, Vue对象实例化之前, 加入
多个Vue对象同理 |
亲测,可用 |
亲测,可用 |
2 similar comments
亲测,可用 |
亲测,可用 |
Error in created hook: "TypeError: Cannot read properties of undefined (reading 'map')"
备注:直接拿官方文档例子,也报这种错误
The text was updated successfully, but these errors were encountered: