diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/table/table-pivot.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/table/table-pivot.ts index 2a11210b9d..736173b286 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/table/table-pivot.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/table/table-pivot.ts @@ -341,9 +341,8 @@ export class TablePivot extends S2ChartView { }, {}) s2Options.layoutCoordinate = (_, __, col) => { if (col?.isGrandTotals) { - if (colTotalCfgMap[col.value]) { + if (colTotalCfgMap[col.value]?.label) { col.label = colTotalCfgMap[col.value].label - // col.value = colTotalCfgMap[col.value].label } } }