非音频过滤scorm项目

This commit is contained in:
nisen
2023-11-09 16:23:25 +08:00
parent 05217f78ab
commit a87b9c1e5e

View File

@@ -474,8 +474,6 @@
if (!this.contentData.id) { if (!this.contentData.id) {
return; return;
} }
// 跳转scorm链接的时候不计时了
if(this.resType == 50) return
let postData={ let postData={
"key": "StudyCourseOther",//课程学习的key "key": "StudyCourseOther",//课程学习的key
"title": "非音视频课内容",//事件的标题 "title": "非音视频课内容",//事件的标题
@@ -674,8 +672,8 @@
if (this.contentData.status < 2) { if (this.contentData.status < 2) {
this.contentData.status = 2; //进行中 this.contentData.status = 2; //进行中
} }
//以下是学习记录 //以下是学习记录,50是scorm项目
if (this.contentData.contentType > 20) { //非视频类的 if (this.contentData.contentType > 20 && this.contentData.contentType !== 50) { //非视频类的
//用户的学习时长,非音视频课程学习,单独的处理 //用户的学习时长,非音视频课程学习,单独的处理
this.isAppendTime = false; this.isAppendTime = false;