From c7187e038c284acc051a439c5eda16582bdb9b7a Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期六, 14 九月 2024 10:16:13 +0800 Subject: [PATCH] 更新 --- src/router/index.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 19ebc4c..c691cbc 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -30,12 +30,12 @@ ]; const router = new Router({ mode: "history", - // base: '/YZXNCS',//姝e紡鐗� 鎵撳寘鏃惰В寮� base: '/SW',//娴嬭瘯鐗� 鎵撳寘鏃惰В寮� + // base: '/YZXNCS',//姝e紡鐗� 鎵撳寘鏃惰В寮� routes, }); router.beforeEach((to, from, next) => { - // next(); + // next(); // 鍘荤櫥褰曢〉锛岀洿鎺ヨ烦杞� if (to.path === "/login") { next(); @@ -56,7 +56,6 @@ // 鍘籭ndex锛屾湁token锛屾病杩囨湡锛岃繘鍏ョ郴缁� next(); } - } } }) -- Gitblit v1.9.3