From 8bb9fe3e7f6dda7720784a049177d606e66fbc2b Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期五, 16 八月 2024 18:02:55 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/flow_web

---
 src/store/modules/user/index.ts |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/user/index.ts b/src/store/modules/user/index.ts
index 7bb51c3..1ee0211 100644
--- a/src/store/modules/user/index.ts
+++ b/src/store/modules/user/index.ts
@@ -78,8 +78,6 @@
         };
         if(res.data.roles && res.data.roles.length>0)
             this.resources=res.data.roles[0].resources;
-        else
-            this.resources=res.data.resources;
         setUserInfo(JSON.stringify(userInfo));
         setUserResources(JSON.stringify(this.resources))
         for (const r of this.resources) {

--
Gitblit v1.8.0