在新版本echarts V5.2.1中,要实现“全国主要城市空气质量-百度地图”Demo时,bmap加载报错,原因是没有引入百度地图 解决办法: 1、申请百度地图ak(开发者),如下 2、在public/index.html中引入百度地图,关键是添加百度地图ak,如下 3、在vue页面引入如下 4、其他代码见echarts案例即可。