泛微薪资核算iframe表格

This commit is contained in:
黎永顺 2023-07-10 15:30:57 +08:00
parent ce1dd73640
commit 9b0abc08ae
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,10 @@ const ReportTable: FC = (props) => {
setDataSource(dataSource);
setShowSumrow(showSum);
setSumRow(countResult);
setColumns(_.map(columns, item => {
setColumns(_.map(columns, (item, index: number) => {
if (index === 0) {
return { ...item, fixed: "left" };
}
return {
...item,
children: _.map(item.children, child => {