mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 10:56:44 +08:00
修改上报时长接口
This commit is contained in:
@@ -780,7 +780,7 @@
|
||||
|
||||
|
||||
this.$nextTick(function(){
|
||||
if(this.contentData.progressVideo){
|
||||
if (r.contentType == 10) {
|
||||
this.$refs.myVideoPlayer.updateProgressByClickBar2(this.contentData.lastStudyTime,this.contentData.progressVideo);
|
||||
}
|
||||
|
||||
@@ -1397,6 +1397,7 @@
|
||||
//对已学习的内容进行比对,重要的字段, 学习内容id,在后缀的
|
||||
let playIndex = -1;
|
||||
this.contentList.forEach((con, conIdx) => {
|
||||
con.progressVideo = con.progressVideo || 0;
|
||||
result.contentStudys.forEach((scon, sconIdx) => {
|
||||
if (scon.contentId == con.id) {
|
||||
//定位显示的内容
|
||||
@@ -1409,7 +1410,7 @@
|
||||
}
|
||||
}
|
||||
con.lastStudyTime = scon.lastStudyTime;
|
||||
con.progressVideo = scon.progressVideo;
|
||||
con.progressVideo = scon.progressVideo || 0;
|
||||
//以下判断是为了兼容之前的问题,学习状态
|
||||
if (scon.status) {
|
||||
con.status = scon.status;
|
||||
|
||||
Reference in New Issue
Block a user