From 8e1d989855288a569d9f6a4e6d104d23e4d8713a Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Tue, 26 Nov 2024 13:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/YNEduApp/learn/components/VideoStudy.vue | 1 + pages/YNEduApp/learn/learn.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/pages/YNEduApp/learn/components/VideoStudy.vue b/pages/YNEduApp/learn/components/VideoStudy.vue index b962e47..beef96a 100644 --- a/pages/YNEduApp/learn/components/VideoStudy.vue +++ b/pages/YNEduApp/learn/components/VideoStudy.vue @@ -57,6 +57,7 @@ export default { }, // 结束学习 handleEnd() { + this.$verificationToken() this.showModal = false // 手动暂停视频 const video = uni.createVideoContext('myVideo') diff --git a/pages/YNEduApp/learn/learn.vue b/pages/YNEduApp/learn/learn.vue index 618016c..48f851b 100644 --- a/pages/YNEduApp/learn/learn.vue +++ b/pages/YNEduApp/learn/learn.vue @@ -86,6 +86,7 @@ export default { this.studyDuration = 0 } this.video = uni.createVideoContext('myVideo') + this.$verificationToken() }, onHide() { console.log('🚀 ~ onHide ~ 页面隐藏')