From abee264f826959ed1ef0c65703035cdae1e5866b Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 7 May 2024 17:54:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E6=9D=A5=E6=BA=90=E8=AE=BE=E7=BD=AE=E4=B8=BA?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E6=97=B6=EF=BC=8C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9B=86=E5=AD=97=E6=AE=B5=E5=8F=98=E6=9B=B4=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=AD=97=E6=AE=B5=E4=BE=9D=E7=84=B6=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=8F=98=E6=9B=B4=E5=89=8D=E7=9A=84=20ID=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v-query/QueryConditionConfiguration.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 c3ef353379..3bd910338a 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -667,9 +667,7 @@ const init = (queryId: string) => { .forEach(ele => { const { dimensionList, quotaList } = ele.fields ele.list = [...dimensionList, ...quotaList] - if (!datasetMap[ele.id]) { - datasetMap[ele.id] = ele - } + datasetMap[ele.id] = ele }) fields.value = datasetFieldList.value .map(ele => { @@ -745,7 +743,7 @@ const handleCondition = item => { curComponent.value = conditions.value.find(ele => ele.id === item.id) multiple.value = curComponent.value.multiple - if (!curComponent.value.dataset.fields.length && curComponent.value.dataset.id) { + if (curComponent.value.dataset.id) { getOptions(curComponent.value.dataset.id, curComponent.value) } datasetFieldList.value.forEach(ele => {