fix:解决冲突

This commit is contained in:
zyh
2023-03-07 17:47:23 +08:00
3 changed files with 14 additions and 1 deletions

View File

@@ -91,6 +91,9 @@
}
}
}
.panel-time-picker-popper {
z-index: 9999999 !important;
}
.panel-time-picker-popper[x-placement^=bottom] .popper__arrow {
left: 85% !important;
}

View File

@@ -152,6 +152,9 @@ export default {
},
variablesArr () {
return this.$store.state.panel.variablesArr
},
isShrink () {
return this.$store.getters.getIsShrink
}
},
data () {
@@ -704,6 +707,13 @@ export default {
window.removeEventListener('resize', this.resize)
},
watch: {
isShrink: {
handler () {
setTimeout(() => {
this.resize()
}, 200)
}
},
// 监听查看模式变化
'$store.state.panel.mode': {
immediate: true,

View File

@@ -76,7 +76,7 @@ export default {
checked: [],
checkAll: false,
visible: false,
isIndeterminate: false
isIndeterminate: true
}
})
this.getLabelData()