Commit c0b464b9 by 李嘉林

修改

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