mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
视频添加进行状态
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
// }
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user