mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
音视频注释onHide生命周期
This commit is contained in:
@@ -558,8 +558,9 @@
|
||||
|
||||
},
|
||||
onHide(){
|
||||
//清除定时任务
|
||||
this.clearTimeHandle();
|
||||
//清除定时任务,隐藏的时候不清除,因为没有停止播放
|
||||
// this.clearTimeHandle();
|
||||
console.log('触发onHide');
|
||||
},
|
||||
destroyed() {
|
||||
this.clearTimeHandle();
|
||||
|
||||
Reference in New Issue
Block a user