为地图增加颜色

This commit is contained in:
aixianling
2024-09-25 10:50:28 +08:00
parent 0c9b5d522e
commit 80978d3794
2 changed files with 32 additions and 9 deletions

View File

@@ -116,6 +116,9 @@ export default {
initChart() {
const {echarts} = window
this.chart = echarts.init(this.$refs.dvMap)
this.chart.on('finished', () => {
console.log(this.chart.getOption())
})
this.chart.showLoading({
text: "数据加载中...", textColor: "#fff",
maskColor: 'rgba(0, 0, 0, 0.2)'