fix(仪表板-过滤器): 数字范围过滤器标题样式

This commit is contained in:
fit2cloud-chenyw 2022-08-22 23:59:57 -04:00
parent 7911158ffa
commit ed55854e35

View File

@ -157,6 +157,13 @@ export default {
alignItems: 'center'
}
}
if (vertical !== 'top' && this.element.component === 'de-number-range') {
if (!this.titleStyle) {
this.titleStyle = {}
}
this.titleStyle.marginTop = '-20px'
}
},
getCondition() {
if (this.$refs && this.$refs['deOutWidget'] && this.$refs['deOutWidget'].getCondition) {