mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 15:56:45 +08:00
提交修改
This commit is contained in:
@@ -372,7 +372,7 @@
|
||||
data(){
|
||||
return {
|
||||
converStatus:4,
|
||||
fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL,
|
||||
fileBaseUrl:this.$xpage.constants.fileBaseUrl,
|
||||
curPdfPath:'',
|
||||
curCFile:{},//当前课件的内容
|
||||
scormUrl:'',//scormUrl地址
|
||||
@@ -441,7 +441,13 @@
|
||||
|
||||
},
|
||||
created() {
|
||||
//console.log(this.ctype, this.course,'ctype');
|
||||
//console.log(process.env, 'process.env');
|
||||
},
|
||||
mounted(){
|
||||
//this.init();
|
||||
if(process.env.NODE_ENV=='development'){
|
||||
this.fileBaseUrl=process.env.VUE_APP_FILE_BASE_URL;
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
reset(newVal){
|
||||
|
||||
Reference in New Issue
Block a user