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