From dd1f49d08fd83a900c08eb87c78a6d56b3ee3a50 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期二, 11 五月 2021 10:36:23 +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