From 44c8b86109498392d0468bd20c0befb0660e33f3 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 5 Nov 2024 14:16:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=95=B0=E5=80=BC=E5=8C=BA=E9=97=B4=E8=A7=84=E5=88=99=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E4=B8=80=E4=B8=AA=E6=9C=80=E5=A4=A7=E6=88=96=E6=9C=80?= =?UTF-8?q?=E5=B0=8F=E5=80=BC=E5=88=99=E6=8F=90=E7=A4=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/Component.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/core-frontend/src/custom-component/v-query/Component.vue b/core/core-frontend/src/custom-component/v-query/Component.vue index ba921958b2..904f2ec1cf 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -564,6 +564,15 @@ const queryData = () => { requiredName = next.name } } + + if (next.displayType === '22') { + if ( + [next.numValueEnd, next.numValueStart].filter(itx => ![null, undefined, ''].includes(itx)) + .length === 1 + ) { + requiredName = next.name + } + } const keyList = Object.entries(next.checkedFieldsMap) .filter(ele => next.checkedFields.includes(ele[0])) .filter(ele => !!ele[1])