Merge branch 'hotfix/2.14.2.2405.02' into release/2.14.3.2406.01

This commit is contained in:
黎永顺 2024-05-30 17:07:21 +08:00
commit c9f4f23927
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ class AttendanceDataViewSlide extends Component {
const { columns, list: dataSource, pageNum: current, pageSize, total } = data.pageInfo;
this.setState({
pageInfo: { ...pageInfo, current, pageSize, total }, dataSource,
columns: _.map(columns, o => ({ ...o, width: 150, fixed: o.dataIndex === "username" ? "left" : null }))
// o.dataIndex === "username" ? "left" :
columns: _.map(columns, o => ({ ...o, width: 150, fixed: null }))
});
}
}).catch(() => this.setState({ loading: { ...loading, query: false } }));