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
借鉴了该大神的文章:https://blog.csdn.net/mazeyqian/article/details/78700605 在我的项目里面未引入geo,引入geo后报错消失。
引入方法:require('echarts/lib/component/geo')
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。