提交修改

This commit is contained in:
daihh
2022-12-13 15:43:01 +08:00
parent ee94dd6cc0
commit 193eaa3b3b
2 changed files with 12 additions and 3 deletions

View File

@@ -684,7 +684,14 @@ export default {
}
//scorm课件的内容取第一个sco
var scorm=JSON.parse(row.content);
this.scormUrl='http://localhost:9083/scorm-player?page='+scorm.index;//播放的首页
console.log(scorm,'scorm')
if(scorm.index){
//这里需要提取的到配置文件中,实际中只需要传 rowId就可以了
this.scormUrl='http://localhost:9083/scorm-player?page='+scorm.index;//播放的首页
}else{
this.scormUrl='http://localhost:9083/scorm-player?page='+scorm.index;//播放的首页
}
}
//console.log(row, 'row');
this.coursewareShow = true;