视频添加进行状态

This commit is contained in:
zhangsir
2024-05-27 17:15:26 +08:00
parent 3200aeb58e
commit 2e099b4f73

View File

@@ -1587,22 +1587,22 @@
this.tab = 2 this.tab = 2
}, },
handleAudioTimeUpdate(currentTime) { handleAudioTimeUpdate(currentTime) {
if(this.contentStudysLength.length == 0){ // if(this.contentStudysLength.length == 0){
let params = { let params = {
studyId: this.studyId, //学习id, studyId: this.studyId, //学习id,
courseId: this.courseId, //课程id, courseId: this.courseId, //课程id,
contentId: this.contentData.id, //内容id, contentId: this.contentData.id, //内容id,
contentType: this.contentData.contentType, contentType: this.contentData.contentType,
contentName: this.contentData.contentName, //内容名称 contentName: this.contentData.contentName, //内容名称
progress: 100, progress: 1,
status: 9, status: 2,
contentTotal: this.totalContent contentTotal: this.totalContent
}; };
if(currentTime > 3&&this.trueFalse){ if(currentTime > 2 && this.trueFalse){
apiStudy.studyContent(params) apiStudy.studyContent(params)
this.trueFalse = false this.trueFalse = false
} }
} // }
}, },
}, },
} }