hotfix/2.12.1.2404.02

薪酬统计报表数据透视 表格变形问题处理
This commit is contained in:
黎永顺 2024-04-28 09:07:40 +08:00
parent f1670a0380
commit c43e69af5d
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class PovitpivotChartModal extends Component {
const childFrameObj = document.getElementById("commonTable");
const { dataSource, showSum = false, pageInfo, columns } = payload;
childFrameObj && childFrameObj.contentWindow.postMessage(JSON.stringify({
dataSource, columns, showSum, pageInfo
dataSource, showSum, pageInfo, columns: _.map(columns, o => ({ ...o, width: o.oldWidth }))
}), "*");
};
getDataPerspective = (payload) => {