为地图增加颜色
This commit is contained in:
@@ -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)'
|
||||
|
||||
Reference in New Issue
Block a user