From 05719f44398f5316fe0853e957d88c77079f3e0b Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期三, 19 五月 2021 16:41:55 +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