forked from github/dataease
Merge pull request #728 from dataease/pr@v1.2@fix_map_resize_error
fix: 仪表板多个地图resize错误
This commit is contained in:
commit
68b2d4358c
@ -214,6 +214,13 @@ export default {
|
|||||||
// 指定图表的配置项和数据
|
// 指定图表的配置项和数据
|
||||||
const chart = this.myChart
|
const chart = this.myChart
|
||||||
chart.resize()
|
chart.resize()
|
||||||
|
this.reDrawMap()
|
||||||
|
},
|
||||||
|
reDrawMap() {
|
||||||
|
const chart = this.chart
|
||||||
|
if (chart.type === 'map') {
|
||||||
|
this.preDraw()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
trackClick(trackAction) {
|
trackClick(trackAction) {
|
||||||
const param = this.pointParam
|
const param = this.pointParam
|
||||||
|
Loading…
Reference in New Issue
Block a user