mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
修改时长
This commit is contained in:
@@ -734,6 +734,7 @@
|
|||||||
//处理学习内容
|
//处理学习内容
|
||||||
this.studyId = rs.result.studyId;
|
this.studyId = rs.result.studyId;
|
||||||
this.contentList.forEach(con=>{
|
this.contentList.forEach(con=>{
|
||||||
|
con.progressVideo = con.progressVideo || 0;
|
||||||
rs.result.contentStudys.forEach((scon,sconIdx)=>{
|
rs.result.contentStudys.forEach((scon,sconIdx)=>{
|
||||||
//第一条就是最近学习的
|
//第一条就是最近学习的
|
||||||
if(sconIdx==0 && $this.initContentId==''){
|
if(sconIdx==0 && $this.initContentId==''){
|
||||||
@@ -742,7 +743,7 @@
|
|||||||
}
|
}
|
||||||
if(scon.contentId==con.id){
|
if(scon.contentId==con.id){
|
||||||
con.lastStudyTime = scon.lastStudyTime;
|
con.lastStudyTime = scon.lastStudyTime;
|
||||||
con.progressVideo = scon.progressVideo;
|
con.progressVideo = scon.progressVideo || 0;
|
||||||
//以下判断是为了兼容之前的问题,学习状态
|
//以下判断是为了兼容之前的问题,学习状态
|
||||||
if(scon.status){
|
if(scon.status){
|
||||||
con.status = scon.status;
|
con.status = scon.status;
|
||||||
|
|||||||
Reference in New Issue
Block a user