From 48e103075ba34144497d66b74500ea14372734f8 Mon Sep 17 00:00:00 2001 From: wisonic Date: Mon, 15 Dec 2025 15:45:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=80=8F=E8=A7=86=E8=A1=A8=E6=A0=91=E5=BD=A2=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E8=A1=A8=E5=A4=B4=E6=9D=A1=E4=BB=B6=E6=A0=B7=E5=BC=8F=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=20#17585?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/js/panel/common/common_table.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 852fe13865..ac47a1ebd6 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 @@ -653,7 +653,7 @@ export function getConditions(chart: Chart) { field: field.field.dataeaseName, mapping(value, rowData) { // 总计小计 - if (rowData?.isTotals) { + if (rowData?.isGrandTotals || rowData?.isSubTotals) { return null } // 表头 @@ -668,7 +668,7 @@ export function getConditions(chart: Chart) { res.background.push({ field: field.field.dataeaseName, mapping(value, rowData) { - if (rowData?.isTotals) { + if (rowData?.isGrandTotals || rowData?.isSubTotals) { return null } if (rowData?.id && rowData?.field === rowData.id) {