From dfaf2ae84b72d62d896c029f91c87816b696ec06 Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期六, 09 十二月 2023 11:48:59 +0800
Subject: [PATCH] feat: 部门A类物品报废时 更新L_WH_PROCURE_MODEL_USER中可用数量

---
 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