mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 13:26:44 +08:00
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user