From 9b7386b30aa60dfdb4593a838d220c7e9a16f692 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 10 Feb 2025 14:08:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6=E6=96=87=E6=9C=AC=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=97=B6=EF=BC=8C=E6=94=AF=E6=8C=81=E5=9B=9E=E8=BD=A6?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=9F=A5=E8=AF=A2=20#14809?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/TextSearch.vue | 6 ++++++ 1 file changed, 6 insertions(+) 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" />