1:工程添加echarts, npm install echarts --save yarn add echarts --save 2:在main.js中引入echarts import echarts from 'echarts' 3:需要注册百度地图API的密匙; 注册地址:lbsyun.baidu.com/ 4:在index.html中全局引用 5:地图右下角有说明 在index.html中引入如下代码
6:然后按照echart例子就可以显示出来了 例子地址:echarts.baidu.com/examples/ed…