diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index 838c596d..fa0012fc 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -1587,22 +1587,22 @@ this.tab = 2 }, handleAudioTimeUpdate(currentTime) { - if(this.contentStudysLength.length == 0){ + // if(this.contentStudysLength.length == 0){ let params = { studyId: this.studyId, //学习id, courseId: this.courseId, //课程id, contentId: this.contentData.id, //内容id, contentType: this.contentData.contentType, contentName: this.contentData.contentName, //内容名称 - progress: 100, - status: 9, + progress: 1, + status: 2, contentTotal: this.totalContent }; - if(currentTime > 3&&this.trueFalse){ + if(currentTime > 2 && this.trueFalse){ apiStudy.studyContent(params) this.trueFalse = false } - } + // } }, }, }