From a44b364b3482ef5afb7dfdbad8ee8caad7e16b1e Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 1 Nov 2022 22:19:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8Dec?= =?UTF-8?q?harts=E8=A7=86=E5=9B=BE=E4=B8=8D=E8=83=BD=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E9=97=B4=E8=B7=9D=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartStyleBatchSet.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/views/chart/view/ChartStyleBatchSet.vue b/frontend/src/views/chart/view/ChartStyleBatchSet.vue index ea69d06fbb..3be0d4f6a2 100644 --- a/frontend/src/views/chart/view/ChartStyleBatchSet.vue +++ b/frontend/src/views/chart/view/ChartStyleBatchSet.vue @@ -26,6 +26,7 @@ @onChangeSplitForm="onChangeSplitForm" @onTextChange="onTextChange" @onLegendChange="onLegendChange" + @onMarginChange="onMarginChange" />
@@ -99,6 +100,9 @@ export default { onLegendChange(val) { this.batchOptChange('customStyle', 'legend', val) }, + onMarginChange(val) { + this.batchOptChange('customStyle', 'margin', val) + }, batchOptChange(custom, property, value) { this.$store.commit('setChangeProperties', { 'custom': custom,