刘宏玺
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
components/pagination/index.zh-CN.md
|
|
@ -24,7 +24,7 @@ cols: 1 |
|
|
|
| current | 当前页数 | number | - | | |
|
|
|
| defaultCurrent | 默认的当前页数 | number | 1 | | |
|
|
|
| defaultPageSize | 默认的每页条数 | number | 10 | | |
|
|
|
| disabled | 禁用分页 | boolean | - | 3.10.0 | 3.18.0 | |
|
|
|
| disabled | 禁用分页 | boolean | - | 3.18.0 | |
|
|
|
| hideOnSinglePage | 只有一页时是否隐藏分页器 | boolean | false | 3.1.0 | |
|
|
|
| itemRender | 用于自定义页码的结构,可用于优化 SEO | (page, type: 'page' \| 'prev' \| 'next', originalElement) => React.ReactNode | - | | |
|
|
|
| pageSize | 每页条数 | number | - | | |
|
|
@ -32,7 +32,7 @@ cols: 1 |
|
|
|
| showLessItems | show less page items | boolean | false | 3.16.3 | |
|
|
|
| showQuickJumper | 是否可以快速跳转至某页 | boolean \| `{ goButton: ReactNode }` | false | | |
|
|
|
| showSizeChanger | 是否可以改变 pageSize | boolean | false | | |
|
|
|
| showTotal | 用于显示数据总量和当前数据顺序 | Function(total, range) | - | | |
|
|
|
| showTotal | 用于显示数据总量和当前数据顺序 | Function(total, range) | - | 3.19.3 | |
|
|
|
| simple | 当添加该属性时,显示为简单分页 | boolean | - | | |
|
|
|
| size | 当为「small」时,是小尺寸分页 | string | "" | | |
|
|
|
| total | 数据总数 | number | 0 | | |
|
|
|