From 1c20c59fdaecc8d72f0053f0c5efb7a86843e529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Wed, 3 Jul 2024 15:37:57 +0800 Subject: [PATCH] 111 --- pages/course/chapterDetail.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pages/course/chapterDetail.vue b/pages/course/chapterDetail.vue index c3331b5..c2a2937 100644 --- a/pages/course/chapterDetail.vue +++ b/pages/course/chapterDetail.vue @@ -421,7 +421,7 @@ export default { console.log("data at line 370:", data); if (data.id != this.currentVideo.id) { // handleEnd - this.$refs.commonVideo.setVideoTime(); + this.$refs.commonVideo.handleEnd(); setTimeout(() => { this.currentVideo = data; @@ -527,10 +527,7 @@ export default { .then(async (res) => { that.curriculumData = res.data.detail; that.videoArray = res.data.videos; - console.log( - "that.videoArray at line 这是关联的视频519:", - res.data.current - ); + console.log("that.videoArray at line 这是关联的视频519:", res); var isHaveHistorySeekVideo = that.videoArray.findIndex( (e) => e.id == res.data.current ); @@ -977,6 +974,7 @@ export default {