报表地址优化
This commit is contained in:
@@ -44,8 +44,8 @@
|
|||||||
//外部url加入token
|
//外部url加入token
|
||||||
let token = Vue.ls.get(ACCESS_TOKEN);
|
let token = Vue.ls.get(ACCESS_TOKEN);
|
||||||
if(url) {
|
if(url) {
|
||||||
url = url.replace('/report','')
|
url = url.replace('/system','')
|
||||||
url = 'http://' + window.location.host + url
|
url = document.location.protocol + '//' + window.location.host + url
|
||||||
}
|
}
|
||||||
this.url = url + '?token=' + token;
|
this.url = url + '?token=' + token;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user