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 2bcca269b2..7ae7ff6406 100644 --- a/core/core-frontend/src/custom-component/v-query/TextSearch.vue +++ b/core/core-frontend/src/custom-component/v-query/TextSearch.vue @@ -109,6 +109,10 @@ const lineWidth = computed(() => { return { width: getCustomWidth() - 15 + 'px' } }) +const handleKeyEnter = () => { + handleValueChange() +} + const handleInnerMouseDown = e => { e.stopPropagation() } @@ -136,6 +140,7 @@ const handleInnerMouseDown = e => { :style="selectStyle" :placeholder="placeholderText" @blur="handleValueChange" + @keydown.enter="handleKeyEnter" class="condition-value-input" v-model="config.conditionValueF" /> @@ -160,6 +165,7 @@ const handleInnerMouseDown = e => { :style="selectStyle" @blur="handleValueChange" :placeholder="placeholderText" + @keydown.enter="handleKeyEnter" class="condition-value-input" v-model="config.conditionValueS" />