From 19a8ed02a0719a87f94f52a37f66ada416b5d8c0 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 15 Nov 2021 13:11:21 +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 369b829215..5bc473cad4 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1497,7 +1497,7 @@ export default { } }, addXaxis(e) { - if (this.view.type === 'map' && this.view.xaxis.length > 1) { + if ((this.view.type === 'map' || this.view.type === 'word-cloud') && this.view.xaxis.length > 1) { this.view.xaxis = [this.view.xaxis[0]] } if (this.view.type !== 'table-info') {