[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'init' of undefined"

添加echarts 后,启动项目, 图出不来, 且控制台报错

[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'init' of undefined"

解决:

Echarts 版本过高导致, 将echarts 版本从5.x 降为4.2.1 即可

 

感谢这篇文章: https://blog.csdn.net/weixin_42681866/article/details/99671699

posted @ 2020-12-23 14:45  doublealoe  阅读(4143)  评论(0编辑  收藏  举报