From ff68d386c8f03f67045b4e6b176fc86dc2f7a597 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期一, 31 五月 2021 10:28:59 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
---
src/router/index.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index b95bcd3..bcc7434 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -21,9 +21,10 @@
const token = getToken()
if (!token && to.name !== LOGIN_PAGE_ROUTE_NAME) {
// 鏈櫥褰曚笖瑕佽烦杞殑椤甸潰涓嶆槸鐧诲綍椤�
- next({
+ /* next({
name: LOGIN_PAGE_ROUTE_NAME // 璺宠浆鍒扮櫥褰曢〉
- })
+ }) */
+ next() // 璺宠浆
} else if (!token && to.name === LOGIN_PAGE_ROUTE_NAME) {
// 鏈櫥闄嗕笖瑕佽烦杞殑椤甸潰鏄櫥褰曢〉
next() // 璺宠浆
--
Gitblit v1.8.0