From 54e04902798abd5d0f882aef1fdf95acd6a2a2c4 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 9 Aug 2021 16:56:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=99=90=E5=88=B6=E7=9F=A9=E5=BD=A2?= =?UTF-8?q?=E5=9B=BE=E6=8C=87=E6=A0=87=E6=95=B0=E9=87=8F?= 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, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index f214b41349..6d48edba2e 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -859,7 +859,11 @@ export default { } } }) - if (view.type.startsWith('pie') || view.type.startsWith('funnel') || view.type.startsWith('text') || view.type.startsWith('gauge')) { + if (view.type.startsWith('pie') || + view.type.startsWith('funnel') || + view.type.startsWith('text') || + view.type.startsWith('gauge') || + view.type === 'treemap') { if (view.yaxis.length > 1) { view.yaxis.splice(1, view.yaxis.length) }