Vue.prototype.$ecahrt = echarts /* vue3 */ app.config.globalProperties.$echarts = echarts 1. 2. 3. 4. 5. 6. 7. 也可以直接在绘制页面内按需引用。 引入需要绘制的地图数据 json 或 js 文件,本文使用的是 json 格式: import chinaJSON from '../../assets/json/china.json' 1. 注意:引入...
Vue.prototype.$ecahrt = echarts /* vue3 */ app.config.globalProperties.$echarts = echarts 1. 2. 3. 4. 5. 6. 7. 也可以直接在绘制页面内按需引用。 引入需要绘制的地图数据 json 或 js 文件,本文使用的是 json 格式: import chinaJSON from '../../assets/json/china.json' 1. 注意:引入...