fix: 修复地图报错导致实体下拉无法收回的问题
This commit is contained in:
@@ -530,7 +530,9 @@ export default {
|
||||
}
|
||||
},
|
||||
beforeUnmount () {
|
||||
this.polygonSeries.mapPolygons.template.events.off('hit', this.mapBlockHitEvent)
|
||||
if (this.polygonSeries) {
|
||||
this.polygonSeries.mapPolygons.template.events.off('hit', this.mapBlockHitEvent)
|
||||
}
|
||||
this.polygonSeries = null
|
||||
this.countrySeries = null
|
||||
this.worldImageSeries = null
|
||||
|
||||
Reference in New Issue
Block a user