From e97a404960da3964475aebbef4ff069be2e4ccfc Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期三, 12 五月 2021 17:54:29 +0800 Subject: [PATCH] 修改问题,污染源 --- src/router/index.js | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ac9cb58..b95bcd3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -35,9 +35,11 @@ console.log(homeRouterName) next() } else if (!token) { - next({ - name: LOGIN_PAGE_ROUTE_NAME // 璺宠浆鍒扮櫥褰曢〉 - }) + // next({ + // name: LOGIN_PAGE_ROUTE_NAME // 璺宠浆鍒扮櫥褰曢〉 + // }) + console.log(LOGIN_PAGE_ROUTE_NAME) + next() } else { next() } -- Gitblit v1.8.0