Commit a08f6bdc by 莫晓莉

mxl

parent 6712c31e
...@@ -61,15 +61,18 @@ ...@@ -61,15 +61,18 @@
/** /**
* 如果需要强制登录,使用reLaunch方式 * 如果需要强制登录,使用reLaunch方式
*/ */
if (this.forcedLogin) { uni.navigateTo({
uni.reLaunch({ url: '../login/login'
url: '../login/login' });
}); // if (this.forcedLogin) {
} else { // uni.reLaunch({
uni.navigateTo({ // url: '../login/login'
url: '../login/login' // });
}); // } else {
} // uni.navigateTo({
// url: '../login/login'
// });
// }
} }
} }
}); });
......
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