Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用的仪表盘、折线图还有环形图,全部报TypeError: Cannot read property 'map' of undefined #190

Open
alenliao opened this issue Feb 23, 2023 · 4 comments

Comments

@alenliao
Copy link

请问这个要怎么解决呢?

@alenliao
Copy link
Author

at VueComponent.addWatchToProps (ve-charts.umd.min.js:8)
at VueComponent.created (ve-charts.umd.min.js:8)
at invokeWithErrorHandling (vue.runtime.esm.js:3017)
at callHook$1 (vue.runtime.esm.js:4031)
at VueComponent.Vue._init (vue.runtime.esm.js:5693)
at new VueComponent (vue.runtime.esm.js:5826)
at createComponentInstanceForVnode (vue.runtime.esm.js:4544)
at init (vue.runtime.esm.js:4406)
at createComponent (vue.runtime.esm.js:6567)
at createElm (vue.runtime.esm.js:6521)

@alenliao
Copy link
Author

addWatchToProps(){const e=this._watchers.map(e=>e.expression) 这个this._watchers的位置报错

@WangJiwen
Copy link

我也显示这个错误。vue版本是2.6.14,echarts版本是4.9.0。

以下是折线图的报错:
vue.runtime.esm.js?c320:4605 [Vue warn]: Error in created hook: "TypeError: Cannot read properties of undefined (reading 'map')"

found in

--->
at src/App.vue

@WangJiwen
Copy link

请问你解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants