forked from github/dataease
commit
57764c7679
@ -167,7 +167,9 @@ export default {
|
|||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
if (this.myChart.container) {
|
if (this.myChart.container) {
|
||||||
clear(this.myChart.container)
|
if (typeof this.myChart.container.getAttribute === 'function') {
|
||||||
|
clear(this.myChart.container)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.myChart?.clear?.()
|
this.myChart?.clear?.()
|
||||||
this.myChart?.unbindSizeSensor?.()
|
this.myChart?.unbindSizeSensor?.()
|
||||||
|
Loading…
Reference in New Issue
Block a user