forked from github/dataease
fix(仪表板): 修复删除动态时间组件定时器没有删除导致异常刷新问题
This commit is contained in:
parent
c2329b828a
commit
558c977cb1
@ -183,6 +183,7 @@ export default {
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.timer && clearInterval(this.timer)
|
||||
bus.$off('onScroll', this.onScroll)
|
||||
bus.$off('reset-default-value', this.resetDefaultValue)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user