视频添加进行状态

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
},
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
}
}
// }
},
},
}