Merge branch 'zcwy_0924_pdf' into dev104_master

# Conflicts:
#	unpackage/dist/build/h5/index.html
#	unpackage/dist/build/h5/static/js/index.511544a3.js
This commit is contained in:
nisen
2024-09-24 16:25:16 +08:00
4 changed files with 12 additions and 1 deletions

View File

@@ -928,6 +928,15 @@
}
});
}
if(con.content==''){
apiCourseFile.detail(con.contentRefId).then(cfrs=>{
if(cfrs.status==200){
con.content=cfrs.result.previewFilePath;
}else{
$this.$refs.messager.show({message:'加载pdf课件文件失败',type:'error'});
}
});
}
}else if(con.contentType==50){ //scorm课件的内容
apiCourseFile.detail(con.contentRefId).then(cfrs => {

View File

@@ -19,4 +19,4 @@
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.fcc8b665.js></script><script src=/mobile/static/js/index.1ac1a705.js></script></body></html>
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.511544a3.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long