From 81d9cc3e3b0c35ca2432bd9b7a10efa67b3d67aa Mon Sep 17 00:00:00 2001 From: teukkk Date: Tue, 8 Jul 2025 16:39:31 +0800 Subject: [PATCH] fix: style during password verification --- ui/src/api/type/role.ts | 1 + .../components/workspace-dropdown/index.vue | 37 ++++++++++++------- .../mobile/component/ChatHistoryDrawer.vue | 4 +- ui/src/views/chat/pc/index.vue | 2 +- .../role/component/MemberFormContent.vue | 7 ++-- .../user-manage/component/UserDrawer.vue | 15 +++++++- 6 files changed, 45 insertions(+), 21 deletions(-) diff --git a/ui/src/api/type/role.ts b/ui/src/api/type/role.ts index 5f92e850a..0c7eb9810 100644 --- a/ui/src/api/type/role.ts +++ b/ui/src/api/type/role.ts @@ -65,6 +65,7 @@ interface FormItemModel { options?: { label: string, value: string }[] placeholder?: string multiple?: boolean + clearableFunction?: (e: any) => boolean } } diff --git a/ui/src/components/workspace-dropdown/index.vue b/ui/src/components/workspace-dropdown/index.vue index 90d740e7b..cb7d7bda2 100644 --- a/ui/src/components/workspace-dropdown/index.vue +++ b/ui/src/components/workspace-dropdown/index.vue @@ -13,20 +13,23 @@
- - -
- - - {{ item.name }} - -
- - - -
-
+ + + +
+ + + {{ item.name }} + +
+ + + +
+
+
+
{{ $t('common.noData') }}
@@ -74,6 +77,12 @@ watch([() => props.data, () => filterText.value], () => { max-height: 32px; } } + +.no-data { + text-align: center; + padding-bottom: 16px; + font-size: 14px; +}