From 58a518f8bc23ed382f4da2a86b09024b063a620c Mon Sep 17 00:00:00 2001
From: 黎星凯 <13949086503@163.com>
Date: 星期一, 13 五月 2024 15:40:47 +0800
Subject: [PATCH] 20240511修改: 分发单优化, 分类,物品,分发单明细,采购单明细数据导入

---
 admin-web/src/permission.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/admin-web/src/permission.js b/admin-web/src/permission.js
index b6f2371..f51017e 100644
--- a/admin-web/src/permission.js
+++ b/admin-web/src/permission.js
@@ -23,7 +23,9 @@
   if (hasToken) {
     if (to.path === '/login') {
       // if is logged in, redirect to the home page
-      next({ path: '/' });
+      // next({ path: '/' });
+
+      next();
       NProgress.done();
     }else if( to.path === '/resetPwd'){
       next();

--
Gitblit v1.9.1