diff --git a/core/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue b/core/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue index 806ea8fbc8..fcd6395c90 100644 --- a/core/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue +++ b/core/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue @@ -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())) }) } },