docs: update onChange description of Pagination component (#30166)

* docs: update onChange description of Pagination component

* Update components/pagination/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: 楼航飞 <hangfei.lou@datayes.com>
Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
i3web 2021-04-18 13:43:59 +08:00 committed by GitHub
parent c3ce590b24
commit 6407eac688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -38,5 +38,5 @@ A long list can be divided into several pages using `Pagination`, and only one p
| simple | Whether to use simple mode | boolean | - | |
| size | Specify the size of `Pagination`, can be set to `small` | `default` \| `small` | `default` | |
| total | Total number of data items | number | 0 | |
| onChange | Called when the page number is changed, and it takes the resulting page number and pageSize as its arguments | function(page, pageSize) | - | |
| onChange | Called when the page number or `pageSize` is changed, and it takes the resulting page number and pageSize as its arguments | function(page, pageSize) | - | |
| onShowSizeChange | Called when `pageSize` is changed | function(current, size) | - | |

View File

@ -39,5 +39,5 @@ cover: https://gw.alipayobjects.com/zos/alicdn/1vqv2bj68/Pagination.svg
| simple | 当添加该属性时,显示为简单分页 | boolean | - | |
| size | 当为 `small` 时,是小尺寸分页 | `default` \| `small` | `default` | |
| total | 数据总数 | number | 0 | |
| onChange | 页码改变的回调,参数是改变后的页码及每页条数 | function(page, pageSize) | - | |
| onChange | 页码`pageSize` 改变的回调,参数是改变后的页码及每页条数 | function(page, pageSize) | - | |
| onShowSizeChange | pageSize 变化的回调 | function(current, size) | - | |