提交课程制作的修改

This commit is contained in:
daihh
2022-06-02 14:39:47 +08:00
parent 9ab5d6c21e
commit 263a8eabf1
3 changed files with 9 additions and 7 deletions

View File

@@ -236,7 +236,7 @@ import WxEditor from "@/components/Editor/index.vue";
import apiTag from "../../api/modules/tag.js";
import videoPlayer from "@/components/VideoPlayer/index.vue";
import audioPlayer from "@/components/AudioPlayer/index.vue";
import apiCourseFile from '../../api/modules/courseFile.js';
import apiCourseFile from '@/api/modules/courseFile.js';
import { mapGetters, mapActions } from "vuex";
// import hyperLink from '@/components/Course/hyperLink.vue';
export default {

View File

@@ -741,6 +741,7 @@
this.converStatus = rs.result.converStatus;
this.courseFileShow = false;
this.cware.content.pdfPath=rs.result.previewFilePath;
this.cware.content.content=rs.result.previewFilePath;
this.$forceUpdate();
}
});
@@ -816,7 +817,7 @@
chooseHasCWare(row){
this.cware.content.contentRefId=row.id;
this.cware.content.contentName=row.name;
// this.cware.content.content=row.filePath;
this.cware.content.content=row.filePath;
this.cware.curriculumData.url = row.filePath;
this.cware.content.duration=row.duration;//时长
this.cware.findShow=false;