fix(视图): 修复echarts视图不能批量操作间距的问题

This commit is contained in:
junjun 2022-11-01 22:19:04 +08:00
parent 0ecd022344
commit a44b364b34

View File

@ -26,6 +26,7 @@
@onChangeSplitForm="onChangeSplitForm"
@onTextChange="onTextChange"
@onLegendChange="onLegendChange"
@onMarginChange="onMarginChange"
/>
<el-row v-else>
<div class="view-selected-message-class">
@ -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,