From 22e204a0b7dd684d45cb2c296b134d75acd42629 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 15 Nov 2021 11:29:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=AF=8D=E4=BA=91?= 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 5157f1988c..369b829215 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1507,7 +1507,7 @@ export default { this.calcData(true) }, addYaxis(e) { - if ((this.view.type === 'map' || this.view.type === 'waterfall') && this.view.yaxis.length > 1) { + if ((this.view.type === 'map' || this.view.type === 'waterfall' || this.view.type === 'word-cloud') && this.view.yaxis.length > 1) { this.view.yaxis = [this.view.yaxis[0]] } this.dragCheckType(this.view.yaxis, 'q')