From 5146e41954035ccb6ee5f3fc8fb566e15e7296c1 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Wed, 3 Jul 2024 15:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index 2ee022a1..ddc7cd24 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -1229,7 +1229,7 @@ }, audioPlay() { //console.log("开始播放"); - if(this.contentData.contentType == 20){ + if(this.contentData.contentType == 20 && this.contentData.status < 2){ this.contentData.status = 2; } let $this = this; @@ -1463,8 +1463,9 @@ progress(val) { const progressValue = parseFloat(val) * 100; this.sendEventProgress = Number(progressValue.toFixed(2)); + console.log('进度') if(this.contentData.contentType == 10){ - if(this.sendEventProgress>0&&this.sendEventProgress<3){ + if(this.sendEventProgress>0&&this.contentData.status<2){ this.contentData.status = 2; } }