加载中...

使用Echarts时报 Implementation of registerMap doesn't exists 错误解决办法

最新的echarts在使用时,如果使用按需加载的方式引入依赖。在使用 registerMap 函数时会报错

如果出现这两个错误:

Implementation of registerMap doesn't exists.

或者

Map xxx not exists. The GeoJSON of the map must be provided.

那么大概率是因为 echarts 升级后导致的不兼容问题。 原文内容:echarts5.3非兼容改动

posted @ 2023-06-17 19:02  水车  阅读(479)  评论(0编辑  收藏  举报