From 53a4a074f3e59efb05b2e5ca76d364f53939d957 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Wed, 18 Mar 2026 16:50:44 +0800
Subject: [PATCH] 修改用户管理
---
src/views/system/user/profile/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/system/user/profile/index.vue b/src/views/system/user/profile/index.vue
index 5851f05..3a7ea1c 100644
--- a/src/views/system/user/profile/index.vue
+++ b/src/views/system/user/profile/index.vue
@@ -27,7 +27,7 @@
</li>
<li class="list-group-item">
<svg-icon icon-class="tree" />所属部门
- <div class="pull-right" v-if="state.user.dept">{{ state.user.dept.deptName }} / {{ state.postGroup }}</div>
+ <div class="pull-right" v-if="state.user.depts">{{(state.user.depts&&state.user.depts.length)>0? [...new Set(state.user.depts.map(i=>i.deptName))].join('/'):'暂无' }} <span v-if="state.postGroup && state.postGroup !== ''">-{{ state.postGroup }}</span></div>
</li>
<li class="list-group-item">
<svg-icon icon-class="peoples" />所属角色
--
Gitblit v1.9.2