Commit c0b464b9 by 李嘉林

修改

parent 9a4c683a
...@@ -592,6 +592,7 @@ export default { ...@@ -592,6 +592,7 @@ export default {
let parseLink=decodeURIComponent(this.backPath); let parseLink=decodeURIComponent(this.backPath);
log.info(this.backPath,parseLink,'---------------------------325') log.info(this.backPath,parseLink,'---------------------------325')
console.log(this.backPath,parseLink,'---------------------------595')
if(parseLink.includes('/pages/')){ if(parseLink.includes('/pages/')){
wx.reLaunch({ wx.reLaunch({
url: parseLink url: parseLink
......
...@@ -92,9 +92,14 @@ export default { ...@@ -92,9 +92,14 @@ export default {
console.log(link,'--------------------------57') console.log(link,'--------------------------57')
if (getUrlKey(decodeURIComponent(link), "scene") == "sso") { if (getUrlKey(decodeURIComponent(link), "scene") == "sso") {
if (!wx.getStorageSync("sessionid")) { if (!wx.getStorageSync("sessionid")) {
wx.redirectTo({ // appraisalTwo:道可二级详情页面,之前进入道可项目所有页面都需登录,现在进入二级可不登录
url: `../login/main?scene=sso&isEncode=1&back=${link}`, if (!link.includes("appraisalTwo")) {
}); wx.redirectTo({
url: `../login/main?scene=sso&isEncode=1&back=${link}`,
});
} else {
this.setLink(decodeURIComponent(link));
}
} else { } else {
this.getSsoBcakUrl(decodeURIComponent(link)); this.getSsoBcakUrl(decodeURIComponent(link));
} }
...@@ -185,6 +190,11 @@ export default { ...@@ -185,6 +190,11 @@ export default {
}, },
}; };
}, },
watch:{
link() {
console.log(this.link,'-----------------195')
}
},
methods: { methods: {
setLink(data) { setLink(data) {
this.link = data; this.link = data;
......
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