Commit 7a095a0e by 张卓

scene

parent 71e6a164
...@@ -31,7 +31,6 @@ export default { ...@@ -31,7 +31,6 @@ export default {
}, },
onLoad(options){ onLoad(options){
console.log(decodeURIComponent(options.link),'地址',wx.getStorageSync("sessionid"),forUrlAddKey(decodeURIComponent(options.link),{token: wx.getStorageSync("sessionid"),jwt: 1})) console.log(decodeURIComponent(options.link),'地址',wx.getStorageSync("sessionid"),forUrlAddKey(decodeURIComponent(options.link),{token: wx.getStorageSync("sessionid"),jwt: 1}))
if(getUrlKey(decodeURIComponent(options.link),'login') != '1') { if(getUrlKey(decodeURIComponent(options.link),'login') != '1') {
this.link = decodeURIComponent(options.link) this.link = decodeURIComponent(options.link)
}else { }else {
...@@ -44,7 +43,7 @@ export default { ...@@ -44,7 +43,7 @@ export default {
} }
) )
}else { }else {
let url = `/pages/login/main?sence=sso&back=${options.link}`; let url = `/pages/login/main?scene=sso&back=${options.link}`;
wx.navigateTo({ wx.navigateTo({
url url
}) })
......
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