From 1d519484623e4bb111d3241b3e247b107d94d70b Mon Sep 17 00:00:00 2001 From: ulleo Date: Tue, 31 Oct 2023 18:05:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90=E4=BB=AA=E8=A1=A8=E6=9D=BF?= =?UTF-8?q?=E3=80=91=E7=BC=96=E8=BE=91=E7=8A=B6=E6=80=81=E6=AF=8F=E6=AC=A1?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=9B=BE=E8=A1=A8=E9=83=BD=E4=BC=9A=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=9B=BE=E8=A1=A8=E8=BF=9B=E8=A1=8C=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/chart/view/ChartEdit.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue index e6e78e5274..5fed7a3e7e 100644 --- a/core/frontend/src/views/chart/view/ChartEdit.vue +++ b/core/frontend/src/views/chart/view/ChartEdit.vue @@ -2106,8 +2106,10 @@ export default { x.sort = 'none' }) } - this.setChartDefaultOptions() - this.calcData(true, 'chart', true, newVal.type !== oldVal.type, newVal.render !== oldVal.render) + if (oldVal.id !== 'echart') { + this.setChartDefaultOptions() + this.calcData(true, 'chart', true, newVal.type !== oldVal.type, newVal.render !== oldVal.render) + } } }, created() {