fix: 修复有时刷新后地图无法显示的问题

This commit is contained in:
chenjinsong
2023-12-07 17:22:50 +08:00
parent c55a205003
commit da2ac78ea7

View File

@@ -59,7 +59,7 @@ export default {
this.initMap()
},
unmounted () {
this.myChart.remove()
this.myChart && this.myChart.remove()
this.myChart = null
},
methods: {