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

This commit is contained in:
fit2cloud-chenyw 2021-08-31 11:13:31 +08:00
parent 740922f982
commit 6b925f73ad

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