From 8e38599b2b680aad7d6016f8df3e91b7efd7c219 Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 10 Jul 2024 17:56:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1):=20?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E4=BA=BA=E5=88=97=E6=8F=90=E7=A4=BA&?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E6=8C=89=E9=92=AE=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/business/ms-select/index.tsx | 4 +- .../components/pure/ms-json-schema/index.vue | 2 +- .../components/detail/caseTable.vue | 55 ++++++++++++++++--- .../caseReview/locale/en-US.ts | 3 + .../caseReview/locale/zh-CN.ts | 2 + .../system/config/components/authConfig.vue | 9 ++- .../setting/system/resourcePool/index.vue | 2 +- 7 files changed, 66 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/business/ms-select/index.tsx b/frontend/src/components/business/ms-select/index.tsx index a175dde1a1..a496cc4707 100644 --- a/frontend/src/components/business/ms-select/index.tsx +++ b/frontend/src/components/business/ms-select/index.tsx @@ -460,7 +460,7 @@ export default defineComponent( placeholder={t(props.placeholder || '')} allow-clear={allowClear.value} allow-search={props.allowSearch} - filter-option={true} + filter-option={false} loading={loading.value} multiple={props.multiple} max-tag-count={maxTagCount.value} @@ -472,6 +472,7 @@ export default defineComponent( disabled={props.disabled} size={props.size} onChange={handleChange} + onBlur={emit('blur')} onSearch={handleSearch} onPopupVisibleChange={(val: boolean) => { popupVisible.value = val; @@ -558,6 +559,7 @@ export default defineComponent( 'remove', 'change', 'changeObject', + 'blur', ], } ); diff --git a/frontend/src/components/pure/ms-json-schema/index.vue b/frontend/src/components/pure/ms-json-schema/index.vue index 27fa1028ca..43bc161cbd 100644 --- a/frontend/src/components/pure/ms-json-schema/index.vue +++ b/frontend/src/components/pure/ms-json-schema/index.vue @@ -406,7 +406,7 @@ @change="handleSettingFormChange" /> - + +