From a94e89e2a85d05ce57853bbb0f6c6f0b6f7c536a Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期四, 08 四月 2021 11:22:25 +0800
Subject: [PATCH] 弹框问题修改

---
 src/router/index.js |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 6bc1550..b95bcd3 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -29,13 +29,17 @@
     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 // 璺宠浆鍒扮櫥褰曢〉
-    })
+    // next({
+    //   name: LOGIN_PAGE_ROUTE_NAME // 璺宠浆鍒扮櫥褰曢〉
+    // })
+    console.log(LOGIN_PAGE_ROUTE_NAME)
+    next()
   } else {
     next()
   }

--
Gitblit v1.8.0