From 2e2f5af014181db7bde5f3a05e6c6d57843c7708 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Fri, 29 Mar 2024 16:41:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E9=98=88=E5=80=BC?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E5=80=BC=E5=8E=BB=E9=99=A4=E7=A9=BA=E5=80=BC?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/senior/dialog/TableThresholdEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) }) } },