This commit is contained in:
zhaofang
2022-06-02 16:37:13 +08:00
parent 81826d855b
commit 83c7394f61
5 changed files with 45 additions and 21 deletions

View File

@@ -738,11 +738,15 @@
}else{
apiCourseFile.detail(this.cware.content.contentRefId).then(rs=>{
if(rs.status==200){
this.curCFile=rs.result;
this.converStatus = rs.result.converStatus;
this.courseFileShow = false;
this.cware.content.pdfPath=rs.result.previewFilePath;
this.$forceUpdate();
if(rs.result.previewFilePath == '' && rs.result.filePath.indexOf('pdf') > -1) {
this.cware.content.pdfPath = rs.result.filePath;
} else {
this.curCFile=rs.result;
this.converStatus = rs.result.converStatus;
}
this.$forceUpdate();
}
});
}