forked from github/dataease
fix(视图): 阈值枚举值去除空值选项
This commit is contained in:
parent
84f8fcc904
commit
2e2f5af014
@ -719,7 +719,7 @@ export default {
|
||||
const fieldType = this.getFieldType(fieldId)
|
||||
if (fieldType) {
|
||||
post('/chart/view/getFieldData/' + this.chart.id + '/' + this.panelInfo.id + '/' + fieldId + '/' + fieldType, {}).then(response => {
|
||||
this.$set(this.fieldEnumValues, fieldId, response.data)
|
||||
this.$set(this.fieldEnumValues, fieldId, response.data?.filter(i => i && i.trim()))
|
||||
})
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user