From be9f3ad87b059e5ddf25a7f8f8672293aecf6302 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期三, 07 四月 2021 14:32:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- 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 6bc1550..ac9cb58 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -29,9 +29,11 @@ next() // 璺宠浆 } else if (token && to.name === LOGIN_PAGE_ROUTE_NAME) { // 宸茬櫥褰曚笖瑕佽烦杞殑椤甸潰鏄櫥褰曢〉 - next({ - name: homeRouterName // 璺宠浆鍒癶omeName椤� - }) + // next({ + // name: homeRouterName // 璺宠浆鍒癶omeName椤� + // }) + console.log(homeRouterName) + next() } else if (!token) { next({ name: LOGIN_PAGE_ROUTE_NAME // 璺宠浆鍒扮櫥褰曢〉 -- Gitblit v1.8.0