Commit 6654d023 authored by zhangyanni's avatar zhangyanni

微信登录

parent 4d098cad
......@@ -1051,7 +1051,7 @@ export default {
commonApi.getUserTrajectory(params).then((res) => {
if (res.code == 0) {
if (!this.getUserInfoCookieType()) {
if (to.matched[0].name == 'index' || to.matched[0].name == 'indexView' || to.matched[0].name == 'login' || to.matched[0].name == "mobileLogin" || to.matched[0].name == "mobileNotNeedLogin" || to.matched[0].name == "notLoginLtrIndex" || to.matched[0].name == "noHeaderIndexNotLoginedParentRouter" || (to.matched.length == 1 && to.name.indexOf("ParentRouter") != -1)) {
if (to.matched[0].name == 'index' || to.matched[0].name == 'indexView' || to.matched[0].name == 'login' || to.matched[0].name == "mobileLogin" || to.matched[0].name == "mobileNotNeedLogin" || to.matched[0].name == "notLoginLtrIndex" || to.matched[0].name == "noHeaderIndexNotLoginedParentRouter" || (to.matched.length == 1 && to.name && to.name.indexOf("ParentRouter") != -1)) {
if (to.path == '/projectlist' || to.path == '/phoneBusinessList') {
this.setUserInfoCookie("fullPath", true);
} else {
......
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