From 65565832a66a52d07656571aa901515dc481311b Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 28 Oct 2024 11:30:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6=E7=BA=A7=E8=81=94=E7=9A=84?= =?UTF-8?q?=E7=BA=A7=E8=81=94=E7=8A=B6=E6=80=81=E4=B8=8D=E8=83=BD=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=20#12885?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/custom-component/v-query/Component.vue | 4 +--- 1 file changed, 1 insertion(+), 3 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 f16f007655..15154a9894 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -459,9 +459,7 @@ const resetData = () => { ;(props.element.cascade || []).forEach(ele => { ele.forEach(item => { const comId = item.datasetId.split('--')[1] - console.log('comId', comId) - - if (next.id === comId) { + if (next.id === comId && ![null, undefined].includes(next.selectValue)) { item.currentSelectValue = Array.isArray(next.selectValue) ? next.selectValue : [next.selectValue]