Commit 87edf02f by 李嘉林

url

parent 0536321c
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
this.getSsoBcakUrl(decodeURIComponent(this.link)); this.getSsoBcakUrl(decodeURIComponent(this.link));
} }
if ((!this.link.includes('sessionid')) && wx.getStorageSync("sessionid")) { if ((!this.link.includes('sessionid')) && wx.getStorageSync("sessionid")) {
this.link +=`${this.link.includes('?') && !this.link.includes('#/') || (this.link.split('?').length - 1 > 1) ?'&':'?'}sessionid=${wx.getStorageSync("sessionid")}` this.link +=`${this.link.includes('?') ?'&':'?'}sessionid=${wx.getStorageSync("sessionid")}`
} }
this.useLink = this.link; this.useLink = this.link;
console.log(this.useLink,'--this.useLink') console.log(this.useLink,'--this.useLink')
......
Markdown is supported
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