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:
@@ -185,12 +185,13 @@ export default {
|
|||||||
let urlSign=encodeURIComponent(encrypt(beforeUrl));
|
let urlSign=encodeURIComponent(encrypt(beforeUrl));
|
||||||
cookies.set('CASE_TIME', ctime);//写客户端的cookie保存
|
cookies.set('CASE_TIME', ctime);//写客户端的cookie保存
|
||||||
//以下判断是为了区分本地环境和服务器环境
|
//以下判断是为了区分本地环境和服务器环境
|
||||||
|
console.log(process.env,'process.env');
|
||||||
if(process.env.NODE_ENV == 'development'){
|
if(process.env.NODE_ENV == 'development'){
|
||||||
this.pdfPath=process.env.VUE_APP_FILE_BASE_URL+u;
|
this.pdfPath=process.env.VUE_APP_FILE_BASE_URL+u;
|
||||||
}else{
|
}else{
|
||||||
this.pdfPath=process.env.VUE_APP_BASE_API+'/xboe/m/case/content/resource?sign='+urlSign;
|
this.pdfPath=process.env.VUE_APP_BASE_API+'/xboe/m/case/content/resource?sign='+urlSign;
|
||||||
}
|
}
|
||||||
//console.log(this.pdfPath,'this.blobUrl');
|
console.log(this.pdfPath,'this.blobUrl');
|
||||||
},
|
},
|
||||||
handleScroll() {
|
handleScroll() {
|
||||||
let innerHeight = document.querySelector('#case-list-content').clientHeight
|
let innerHeight = document.querySelector('#case-list-content').clientHeight
|
||||||
|
|||||||
Reference in New Issue
Block a user