forked from github/dataease
fix(视图): 修复echarts视图不能批量操作间距的问题
This commit is contained in:
parent
0ecd022344
commit
a44b364b34
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user