From 12518eea69f47245805e6fff43e485c9a04e19b4 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 8 May 2024 10:23:31 +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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 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 3bd910338a..2f1d9a1f34 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -740,11 +740,14 @@ const handleCondition = item => { handleDialogClick() if (activeConditionForRename.id) return activeCondition.value = item.id - curComponent.value = conditions.value.find(ele => ele.id === item.id) + curComponent.value = cloneDeep(conditions.value.find(ele => ele.id === item.id)) + curComponent.value.dataset.fields = [] multiple.value = curComponent.value.multiple if (curComponent.value.dataset.id) { - getOptions(curComponent.value.dataset.id, curComponent.value) + listFieldsWithPermissions(curComponent.value.dataset.id).then(res => { + curComponent.value.dataset.fields = res.data + }) } datasetFieldList.value.forEach(ele => { if (!curComponent.value.checkedFieldsMap[ele.id]) {