Commit 0e820af7 by 胡悦

fix(LeftSide): 注释掉组件销毁时的多余事件解绑

移除对'pageBack'和'studyCenter'事件的解绑,保留'ActivityCenter'事件解绑
1 parent c9cf8ee3
...@@ -445,8 +445,8 @@ export default { ...@@ -445,8 +445,8 @@ export default {
// this.trackInterval = null // this.trackInterval = null
}, },
beforeDestroy() { beforeDestroy() {
uni.$off('pageBack') // uni.$off('pageBack')
uni.$off('studyCenter') // uni.$off('studyCenter')
uni.$off('ActivityCenter', this.handleActivityCenter); uni.$off('ActivityCenter', this.handleActivityCenter);
// clearInterval(this.trackInterval) // clearInterval(this.trackInterval)
// this.trackInterval = null // this.trackInterval = null
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!