diff --git a/core/core-frontend/src/custom-component/v-query/Select.vue b/core/core-frontend/src/custom-component/v-query/Select.vue
index 63c9b7d743..05ed63d72a 100644
--- a/core/core-frontend/src/custom-component/v-query/Select.vue
+++ b/core/core-frontend/src/custom-component/v-query/Select.vue
@@ -10,11 +10,13 @@ import {
nextTick,
computed,
inject,
+ onBeforeUnmount,
onUnmounted,
Ref
} from 'vue'
import { enumValueObj, type EnumValue, getEnumValue } from '@/api/dataset'
import { cloneDeep, debounce } from 'lodash-es'
+import eventBus from '@/utils/eventBus'
import { useEmitt } from '@/hooks/web/useEmitt'
import { useI18n } from '@/hooks/web/useI18n'
import colorFunctions from 'less/lib/less/functions/color.js'
@@ -725,6 +727,18 @@ const tagTextWidth = computed(() => {
return (getCustomWidth() - 65) / 2 - 20 + 'px'
})
+const componentClick = () => {
+ mult.value?.blur()
+ single.value?.blur()
+}
+
+onMounted(() => {
+ eventBus.on('componentClick', componentClick)
+})
+onBeforeUnmount(() => {
+ eventBus.off('componentClick', componentClick)
+})
+
defineExpose({
displayTypeChange,
mult,
diff --git a/core/core-frontend/src/custom-component/v-query/TextSearch.vue b/core/core-frontend/src/custom-component/v-query/TextSearch.vue
index 2c1ccd019d..781cd093cd 100644
--- a/core/core-frontend/src/custom-component/v-query/TextSearch.vue
+++ b/core/core-frontend/src/custom-component/v-query/TextSearch.vue
@@ -1,6 +1,18 @@
@@ -143,6 +169,7 @@ const handleInnerMouseDown = e => {
:style="selectStyle"
:placeholder="placeholderText"
@blur="handleValueChange"
+ ref="pre"
@keydown.enter.exact.prevent="($event: any) => handleKeyEnter($event)"
class="condition-value-input"
v-model="config.conditionValueF"
@@ -167,6 +194,7 @@ const handleInnerMouseDown = e => {
handleKeyEnter($event)"
class="condition-value-input"
diff --git a/core/core-frontend/src/views/system/parameter/third-party/ThirdEdit.vue b/core/core-frontend/src/views/system/parameter/third-party/ThirdEdit.vue
index ea0148b469..0978516e36 100644
--- a/core/core-frontend/src/views/system/parameter/third-party/ThirdEdit.vue
+++ b/core/core-frontend/src/views/system/parameter/third-party/ThirdEdit.vue
@@ -182,8 +182,12 @@ defineExpose({