Commit 744691d9 authored by 季圣华's avatar 季圣华
Browse files

报表地址优化

parent 1ca585c7
......@@ -44,8 +44,8 @@
//外部url加入token
let token = Vue.ls.get(ACCESS_TOKEN);
if(url) {
url = url.replace('/report','')
url = 'http://' + window.location.host + url
url = url.replace('/system','')
url = document.location.protocol + '//' + window.location.host + url
}
this.url = url + '?token=' + token;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment