forked from github/dataease
Merge pull request #3837 from dataease/pr@dev@fix_batch_set_suspension
fix(视图): 地图批量设置组件悬浮无效
This commit is contained in:
commit
02e97470a4
@ -27,6 +27,7 @@
|
||||
@onTextChange="onTextChange"
|
||||
@onLegendChange="onLegendChange"
|
||||
@onMarginChange="onMarginChange"
|
||||
@onSuspensionChange="onSuspensionChange"
|
||||
/>
|
||||
<el-row v-else>
|
||||
<div class="view-selected-message-class">
|
||||
@ -103,6 +104,9 @@ export default {
|
||||
onMarginChange(val) {
|
||||
this.batchOptChange('customStyle', 'margin', val)
|
||||
},
|
||||
onSuspensionChange(val) {
|
||||
this.batchOptChange('customAttr', 'suspension', val)
|
||||
},
|
||||
batchOptChange(custom, property, value) {
|
||||
this.$store.commit('setChangeProperties', {
|
||||
'custom': custom,
|
||||
|
Loading…
Reference in New Issue
Block a user