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
commit 68b2d4358c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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