工资单查看详情页面列表滚动

This commit is contained in:
黎永顺 2023-02-28 09:59:21 +08:00
parent ee712a5056
commit aaff69de31
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ export default class PayrollDetail extends React.Component {
<CustomPaginationTable
dataSource={salarySendDetailDataSource}
columns={this.getColumns()}
scroll={{ x: this.getColumns().length * 150 }}
scroll={{ x: this.getColumns().length * 150, y: `calc(100vh - 240px)` }}
total={salarySendDetailPageInfo.total}
current={salarySendDetailPageInfo.pageNum}
pageSize={this.pageInfo.pageSize}