Merge pull request #728 from dataease/pr@v1.2@fix_map_resize_error

fix: 仪表板多个地图resize错误
This commit is contained in:
fit2cloud-chenyw
2021-08-31 11:14:42 +08:00
committed by GitHub

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