vue项目使用echarts按需引入实现地图动态显示效果时,报错:TypeError: Cannot read property 'dataToPoint' of undefined

2022-12-12,,,,

vue项目使用echarts按需引入实现地图动态显示效果时,报错:TypeError: Cannot read property 'dataToPoint' of undefined

借鉴了该大神的文章:https://blog.csdn.net/mazeyqian/article/details/78700605  在我的项目里面未引入geo,引入geo后报错消失。

引入方法:require('echarts/lib/component/geo')

vue项目使用echarts按需引入实现地图动态显示效果时,报错:TypeError: Cannot read property 'dataToPoint' of undefined的相关教程结束。

《vue项目使用echarts按需引入实现地图动态显示效果时,报错:TypeError: Cannot read property 'dataToPoint' of undefined.doc》

下载本文的Word格式文档,以方便收藏与打印。