From e110ad0945d0bda0678a6fca8a2e25631958f15e Mon Sep 17 00:00:00 2001 From: wisonic Date: Mon, 27 Oct 2025 18:18:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=A0=B7=E5=BC=8F=E8=AE=BE=E7=BD=AE[?= =?UTF-8?q?=E5=B0=8F=E4=BA=8E=E7=AD=89=E4=BA=8E]=E6=88=96[=E5=A4=A7?= =?UTF-8?q?=E4=BA=8E=E7=AD=89=E4=BA=8E]0=E6=97=B6=EF=BC=8C=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=BA=E7=A9=BA=E7=9A=84=E6=95=B0=E6=8D=AE=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=B9=9F=E4=BC=9A=E6=A0=87=E8=AE=B0=20#17191?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/js/panel/common/common_table.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts index 979e17ef80..0796d04a52 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts @@ -737,17 +737,17 @@ export function mappingColor(value, defaultColor, field, type, filedValueMap?, r flag = true } } else if (t.term === 'le') { - if (value <= tv) { + if (value !== null && value <= tv) { color = t[type] flag = true } } else if (t.term === 'ge') { - if (value >= tv) { + if (value !== null && value >= tv) { color = t[type] flag = true } } else if (t.term === 'between') { - if (min <= value && value <= max) { + if (value !== null && min <= value && value <= max) { color = t[type] flag = true }