From 1f6ac8e46fa4a602bd6f8ef1507aef7b4b1b0978 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 20 Jun 2024 10:36:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E5=99=A8=E5=AD=97=E6=AE=B5=E9=80=89=E6=8B=A9=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E6=A1=86=E8=BE=93=E5=85=A5=E6=97=A0=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/editor/index.vue | 2 +- .../visualized/data/dataset/auth-tree/FilterFiled.vue | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index 37ae2b03ca..d7124a00fe 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -3072,8 +3072,8 @@ const deleteChartFieldItem = id => { {{ t('dataset.confirm') }} - + { return computedFiledList.value.filter(ele => ele.name.includes(keywords.value)) }) const computedFiledList = computed(() => { - return filedList.value || [] + return Object.values(filedList.value || {}) }) watch(checkResult, () => { @@ -263,7 +263,12 @@ const emits = defineEmits(['update:item', 'del'])