Merge pull request #3597 from dataease/pr@dev@fix_batch_opt

fix(视图): 修复echarts视图不能批量操作间距的问题
This commit is contained in:
xuwei-fit2cloud
2022-11-02 09:56:15 +08:00
committed by GitHub

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,