mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-10 12:50:29 +08:00
Change pageSize to 20 for record page.
This commit is contained in:
@@ -31,7 +31,7 @@ class RecordListPage extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
UNSAFE_componentWillMount() {
|
UNSAFE_componentWillMount() {
|
||||||
this.getRecords(1, 10);
|
this.getRecords(1, 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
getRecords(page, pageSize) {
|
getRecords(page, pageSize) {
|
||||||
@@ -174,6 +174,7 @@ class RecordListPage extends React.Component {
|
|||||||
];
|
];
|
||||||
|
|
||||||
const paginationProps = {
|
const paginationProps = {
|
||||||
|
pageSize: 20,
|
||||||
total: this.state.total,
|
total: this.state.total,
|
||||||
showQuickJumper: true,
|
showQuickJumper: true,
|
||||||
showSizeChanger: true,
|
showSizeChanger: true,
|
||||||
|
Reference in New Issue
Block a user