Change pageSize to 20 for record page.

This commit is contained in:
Gucheng Wang 2021-12-01 21:28:45 +08:00
parent 14c4f60a40
commit 746967e18a

View File

@ -31,7 +31,7 @@ class RecordListPage extends React.Component {
}
UNSAFE_componentWillMount() {
this.getRecords(1, 10);
this.getRecords(1, 20);
}
getRecords(page, pageSize) {
@ -174,6 +174,7 @@ class RecordListPage extends React.Component {
];
const paginationProps = {
pageSize: 20,
total: this.state.total,
showQuickJumper: true,
showSizeChanger: true,