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,12 +738,17 @@
|
||||
}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.cware.content.content=rs.result.previewFilePath;
|
||||
if(rs.result.previewFilePath == '' && rs.result.filePath.indexOf('pdf') > -1) {
|
||||
this.$forceUpdate();
|
||||
this.cware.content.pdfPath = rs.result.filePath;
|
||||
} else {
|
||||
this.curCFile=rs.result;
|
||||
this.converStatus = rs.result.converStatus;
|
||||
}
|
||||
this.$forceUpdate();
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -823,6 +828,9 @@
|
||||
this.cware.content.duration=row.duration;//时长
|
||||
this.cware.findShow=false;
|
||||
if(this.cware.content.contentType==40){
|
||||
if(row.filePath.indexOf('.pdf')==-1){
|
||||
this.cware.content.content=row.previewFilePath;
|
||||
}
|
||||
this.loadPdfFile();
|
||||
}
|
||||
this.saveContent(1);
|
||||
|
||||
Reference in New Issue
Block a user