Merge pull request #2903 from dataease/pr@dev@fix_filter_title_style

fix(仪表板-过滤器): 数字范围过滤器标题样式
This commit is contained in:
fit2cloud-chenyw 2022-08-23 12:01:20 +08:00 committed by GitHub
commit e4dc360fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {