From f58b0aedb3741e221e3277aed51bf99366bd90b0 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 22 Apr 2024 15:58:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AD=97=E6=AE=B5=E6=B2=A1=E6=9C=89=E5=80=BC?= =?UTF-8?q?=E6=97=B6=E9=BB=98=E8=AE=A4=E5=A1=AB=E5=85=85=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom-component/v-query/QueryConditionConfiguration.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue index 736c5b67ab..9a2f84bfa0 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -248,6 +248,9 @@ const handleDatasetChange = () => { const handleFieldChange = () => { if (!curComponent.value.defaultValueCheck) return curComponent.value.defaultValue = curComponent.value.multiple ? [] : undefined + if (!curComponent.value.displayId) { + curComponent.value.displayId = curComponent.value.field.id + } } const handleValueSourceChange = () => {