From dc12026faf2b95f34639b195f433b8019685b8a1 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 23 Jan 2024 15:36:46 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E6=8C=87?= =?UTF-8?q?=E6=A0=87=E5=8D=A1=E6=89=B9=E9=87=8F=E6=93=8D=E4=BD=9C=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/editor/editor-style/ChartStyle.vue | 2 +- .../editor/editor-style/ChartStyleBatchSet.vue | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue index 05a6a4d7df..fd70f29ec7 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue @@ -276,7 +276,7 @@ watch( title="大小" > { batchOptChange('customStyle', 'yAxis', val, prop) } +const onIndicatorChange = (val, prop) => { + batchOptChange('customAttr', 'indicator', val, prop) +} + +const onIndicatorNameChange = (val, prop) => { + batchOptChange('customAttr', 'indicatorName', val, prop) +} + const onChangeMiscStyleForm = (val, prop) => { batchOptChange('customStyle', 'misc', val, prop) }