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; +}