From 2398e685fb9eb6878d7cdfbafff0516199ec7fa0 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 19 May 2022 10:49:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=92=E4=BB=B6=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=92=8C=E6=A0=B7=E5=BC=8F=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 949b487f36..0df0e9a70d 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -652,7 +652,7 @@ item.render === _this.chart.render && item.value === _this.chart.type) - if (viewConfig) { + if (viewConfig && viewConfig.length) { return viewConfig[0].properties } else { return null