From 86e87e554e86c924d4aa8779fd71f12389b65104 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Wed, 25 Jun 2025 17:40:00 +0800
Subject: [PATCH] fix: User management does not display roles
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1057486 --user=王孝刚 【用户管理】企业版-用户管理列表-未显示角色字段 https://www.tapd.cn/62980211/s/1718526
---
ui/src/views/system/user-manage/index.vue | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/ui/src/views/system/user-manage/index.vue b/ui/src/views/system/user-manage/index.vue
index 1cbee816..33387f59 100644
--- a/ui/src/views/system/user-manage/index.vue
+++ b/ui/src/views/system/user-manage/index.vue
@@ -71,6 +71,11 @@
{{ row.phone || '-' }}
+
+
+
+
+
{{
@@ -152,7 +157,7 @@ import {MsgSuccess, MsgConfirm} from '@/utils/message'
import {t} from '@/locales'
import {ValidCount, ValidType} from "@/enums/common.ts";
import useStore from "@/stores";
-const {common } = useStore()
+const {user, common} = useStore()
const search_type = ref('name')
const search_form = ref<{
name: string
@@ -227,7 +232,8 @@ function createUser() {
.then(() => {
window.open('https://maxkb.cn/pricing.html', '_blank')
})
- .catch(() => {})
+ .catch(() => {
+ })
}
})
}