From a9d75a2f1d1e09c9dabdbb2b6a30e03e9418183d Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 21 Dec 2023 11:04:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=86=E5=9B=BE=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E5=99=A8=E6=94=AF=E6=8C=81=E4=B8=8E=E6=88=96=E5=85=B3=E7=B3=BB?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/chart/view/ChartEdit.vue | 2 +- core/frontend/src/views/chart/view/FilterTree.vue | 13 +++++++------ .../views/dataset/data/components/filterFiled.vue | 6 +++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue index 12155b7dbe..17b9f8b2a6 100644 --- a/core/frontend/src/views/chart/view/ChartEdit.vue +++ b/core/frontend/src/views/chart/view/ChartEdit.vue @@ -2073,7 +2073,7 @@ export default { }, computed: { filedList() { - return [...this.dimension, ...this.quota] + return [...this.dimension, ...this.quota].filter(ele => ele.id !== 'count') }, obj() { return { diff --git a/core/frontend/src/views/chart/view/FilterTree.vue b/core/frontend/src/views/chart/view/FilterTree.vue index 278526a6f2..68d891cf63 100644 --- a/core/frontend/src/views/chart/view/FilterTree.vue +++ b/core/frontend/src/views/chart/view/FilterTree.vue @@ -16,15 +16,16 @@ slot="footer" class="dialog-footer" > - {{ $t('chart.cancel') }} - - + {{ $t('chart.confirm') }} - + @@ -105,13 +106,13 @@ export default {