From ed34a533c1234737a728cbc71dd3e90a95dec9c2 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 28 Jun 2024 14:13:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=9C=A8=E7=BC=96=E8=BE=91=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=97=B6=EF=BC=8C=E6=96=B0=E5=BB=BA=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9B=86=E5=90=8E=EF=BC=8C=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E8=8E=B7=E5=8F=96=E6=9C=80=E6=96=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/Component.vue | 6 +++++- .../v-query/QueryConditionConfiguration.vue | 4 +--- 2 files changed, 6 insertions(+), 4 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 57a279bd3e..e9de7910a1 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -540,7 +540,11 @@ const autoStyle = computed(() => {
- +
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 44c927beb0..addc5cf23f 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -775,9 +775,7 @@ const setActiveSelectTab = (arr, id) => { } const init = (queryId: string) => { - if (!datasetTree.value.length) { - initDataset() - } + initDataset() renameInput.value = [] handleCondition({ id: queryId }) cascadeArr = cloneDeep(queryElement.value.cascade || [])