forked from github/dataease
fix(视图): 地图批量设置组件悬浮无效
This commit is contained in:
parent
58beccb3da
commit
3075624a85
@ -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