From b681b21427624955a95fe1a065a624f4da17aa28 Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 11 Aug 2021 10:46:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=86=E5=9B=BE=E4=B8=8B=E9=92=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index f005563819..085d54956a 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1505,8 +1505,10 @@ export default { }, chartClick(param) { - this.drillClickDimensionList.push({ dimensionList: param.data.dimensionList }) - this.getData(this.param.id) + if (this.drillClickDimensionList.length < this.view.drillFields.length - 1) { + this.drillClickDimensionList.push({ dimensionList: param.data.dimensionList }) + this.getData(this.param.id) + } }, resetDrill() {