报表地址优化

This commit is contained in:
季圣华
2021-11-07 22:33:07 +08:00
parent a692f2bb0b
commit 1ca585c7ec

View File

@@ -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;
}
}