fix: 修复有时刷新后地图无法显示的问题
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
||||
this.initMap()
|
||||
},
|
||||
unmounted () {
|
||||
this.myChart.remove()
|
||||
this.myChart && this.myChart.remove()
|
||||
this.myChart = null
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user