From 9566fd5417098c1363eb447ae3313a6194f94549 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 22 Jul 2024 10:57:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E7=BB=84=E4=BB=B6=E7=9A=84=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E9=85=8D=E7=BD=AE=E4=B8=80=E4=B8=AA=E5=92=8C?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E6=89=80=E4=BD=BF=E7=94=A8=E7=9A=84=E4=B8=8D?= =?UTF-8?q?=E5=90=8C=E7=9A=84=E6=95=B0=E6=8D=AE=E9=9B=86=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=AE=8C=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=86=8D?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E4=BC=9A=E4=B8=A2=E5=A4=B1=20#11048?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/Component.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 b0c059b69f..2255f333f6 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -314,12 +314,7 @@ const updateQueryCriteria = () => { ![0, 2, 5].includes(+ele.displayType) ) return - const checkedFields = [] - datasetFieldList.value.forEach(itx => { - if (itx.tableId === ele.dataset.id) { - checkedFields.push(itx.id) - } - }) + const checkedFields = datasetFieldList.value.map(itx => itx.id) ele.checkedFields.forEach(itx => { if (!checkedFields.includes(itx)) { ele.checkedFieldsMap[itx] = ''