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刪除。