From 489db4d37d3721f3a0d429856687a12a723dba50 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 6 Apr 2022 13:01:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E8=A7=86=E5=9B=BE=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E5=81=B6=E5=B0=94=E6=98=BE=E7=A4=BA=E9=81=AE?= =?UTF-8?q?=E7=BD=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 021f2a1830..837c56f295 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -2197,6 +2197,7 @@ export default { // 更换数据集 changeChart() { + this.view.dataFrom = 'dataset' if (this.view.tableId !== this.changeTable.id) { this.view.tableId = this.changeTable.id this.view.xaxis = [] @@ -2207,7 +2208,6 @@ export default { this.view.extStack = [] this.view.extBubble = [] this.view.drillFields = [] - this.view.dataFrom = 'dataset' } // this.save(true, 'chart', false) this.calcData(true, 'chart', false)