From 2ccb81e70794749f3c335db603d8ec4af21f4be0 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 1 Aug 2024 11:14:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=A4=9A=E4=BD=99=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/study/courseStudy.vue | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pages/study/courseStudy.vue b/pages/study/courseStudy.vue index 00c7857..3f7383c 100644 --- a/pages/study/courseStudy.vue +++ b/pages/study/courseStudy.vue @@ -1558,14 +1558,7 @@ status: 2, contentTotal:this.totalContent } - apiCourseStudy.studyContent(params).then(res=>{ - if(res.status == 200) { - this.curContent.status=2;//完成 - this.curContent.studyItemId=res.result;//学习记录id - }else{ - console.log('记录学习失败:'+res.message+','+res.error); - } - }) + apiCourseStudy.studyContent(params) this.trueFalse = false } //console.log("当前播放11",itme); @@ -1598,7 +1591,7 @@ } //以下是每隔10秒存储一下进度 let saveTime=Math.floor(intTime%10); - //console.log(intTime,saveTime,'aa',this.curContent.studyItemId) + // console.log(intTime,saveTime,'aa',this.curContent.studyItemId) if(this.preTime!=intTime && saveTime==0 && this.curContent.studyItemId!=''){ this.preTime=intTime; this.curContent.lastStudyTime=intTime;