mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
refactor(图表): 透视表指标总计名称逻辑优化 (#15561)
This commit is contained in:
@@ -341,9 +341,8 @@ export class TablePivot extends S2ChartView<PivotSheet> {
|
||||
}, {})
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user