fix(视图): 地图批量设置组件悬浮无效

This commit is contained in:
fit2cloud-chenyw 2022-11-23 14:30:40 +08:00
parent 58beccb3da
commit 3075624a85

View File

@ -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,