fix(图表): 透视表字段名称修改无效 #8546

This commit is contained in:
wisonic-s 2024-03-28 15:33:52 +08:00
parent 12f5d4e36e
commit ccb5ed4d41

View File

@ -83,7 +83,7 @@ export class TablePivot extends S2ChartView<PivotSheet> {
columns.push(ele.dataeaseName) columns.push(ele.dataeaseName)
meta.push({ meta.push({
field: ele.dataeaseName, field: ele.dataeaseName,
name: ele.name, name: ele.chartShowName ?? ele.name,
formatter: value => { formatter: value => {
if (!f) { if (!f) {
return value return value