fix: 仪表板多个地图resize错误

This commit is contained in:
fit2cloud-chenyw
2021-08-31 11:13:31 +08:00
parent 1fcc794a1c
commit d0bb428ac1

View File

@@ -214,6 +214,13 @@ export default {
// 指定图表的配置项和数据
const chart = this.myChart
chart.resize()
this.reDrawMap()
},
reDrawMap() {
const chart = this.chart
if (chart.type === 'map') {
this.preDraw()
}
},
trackClick(trackAction) {
const param = this.pointParam