From fc5d43e590ac5453f1e1f96fcf84f558f383ca40 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期五, 21 三月 2025 14:18:21 +0800
Subject: [PATCH] feat(social): 添加 Keycloak单点登录功能

---
 eims-ui/apps/web-antd/src/store/auth.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/eims-ui/apps/web-antd/src/store/auth.ts b/eims-ui/apps/web-antd/src/store/auth.ts
index 7f678e5..b3aa537 100644
--- a/eims-ui/apps/web-antd/src/store/auth.ts
+++ b/eims-ui/apps/web-antd/src/store/auth.ts
@@ -114,7 +114,8 @@
       realName: user.nickName,
       roles,
       userId: user.userId,
-      username: user.userName,
+      deptId: user.deptId,
+      username: user.userName
     };
     userStore.setUserInfo(userInfo);
     /**

--
Gitblit v1.9.3