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'])