fix: 优化图标组件消毁时清除

This commit is contained in:
@changcode
2022-12-16 10:12:37 +08:00
parent de8d11fd12
commit 4577684fe2
3 changed files with 6 additions and 0 deletions

View File

@@ -671,6 +671,8 @@ export default {
clearTimeout(this.timer)
window.removeEventListener('resize', this.resize)
this.myChart = null
this.myChart = null
this.unitConvert = null
}
}
</script>