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