From 0607d7a2edf13b7f1a73b9e0920da94521764b87 Mon Sep 17 00:00:00 2001 From: daihh Date: Fri, 3 Jun 2022 11:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Course/auditCourse1.vue | 2 +- src/components/Course/auditCourse2.vue | 2 +- src/components/Course/catalogCourseware.vue | 2 +- src/components/Course/weikeContent.vue | 2 +- src/views/study/PortalIndex.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Course/auditCourse1.vue b/src/components/Course/auditCourse1.vue index 5e2070d4..fa6543ce 100644 --- a/src/components/Course/auditCourse1.vue +++ b/src/components/Course/auditCourse1.vue @@ -285,7 +285,7 @@ export default { homeworkInfo: {}, examInfo: {}, assessInfo: {}, - fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, + fileBaseUrl: this.$Constants.fileBaseUrl, btnLoading: false, curCFile:{},//课件内容 coursewareInfo: { diff --git a/src/components/Course/auditCourse2.vue b/src/components/Course/auditCourse2.vue index 876227b8..d94db1fd 100644 --- a/src/components/Course/auditCourse2.vue +++ b/src/components/Course/auditCourse2.vue @@ -323,7 +323,7 @@ export default { }, contentDataShow:true,//预览页面和课程内容的切换 isEdit: true, - fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, + fileBaseUrl: this.$Constants.fileBaseUrl, contentData: {}, curCFile:{},//课件内容 getType: getType, diff --git a/src/components/Course/catalogCourseware.vue b/src/components/Course/catalogCourseware.vue index 19646e5a..215e9d33 100644 --- a/src/components/Course/catalogCourseware.vue +++ b/src/components/Course/catalogCourseware.vue @@ -361,7 +361,7 @@ data(){ return { converStatus:4, - fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL, + fileBaseUrl:this.$Constants.fileBaseUrl, curPdfPath:'', curCFile:{},//当前课件的内容 comTypes:[ diff --git a/src/components/Course/weikeContent.vue b/src/components/Course/weikeContent.vue index bde41fe9..f1650329 100644 --- a/src/components/Course/weikeContent.vue +++ b/src/components/Course/weikeContent.vue @@ -562,7 +562,7 @@ courseFileShow:false, curContent:{id:'',contentType:0,contenRefId:''}, curCFile:{},//当前课件的内容 - fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL, + fileBaseUrl:this.$Constants.fileBaseUrl, imageShowUrl: '', activeName: 'courseware', getType: getType, diff --git a/src/views/study/PortalIndex.vue b/src/views/study/PortalIndex.vue index b2cfe924..9b5b3fbd 100644 --- a/src/views/study/PortalIndex.vue +++ b/src/views/study/PortalIndex.vue @@ -286,7 +286,7 @@ export default { totalContent: 0, //课程内容数量 pageCount: 0, currentPage: 0, - fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, + fileBaseUrl: this.$Constants.fileBaseUrl, contentList: [], sectionList: [], teachers: [],