doc: update pagination change info, close #5293

pull/5317/head
tangjinzhou 2022-02-28 19:34:40 +08:00
parent f0bc380527
commit 78c436b990
2 changed files with 5 additions and 5 deletions

View File

@ -42,5 +42,5 @@ A long list can be divided into several pages using `Pagination`, and only one p
| Events Name | Description | Arguments |
| --- | --- | --- | --- |
| change | a callback function, executed when the page number is changed, and it takes the resulting page number and pageSize as its arguments | Function(page, pageSize) | noop |
| change | Called when the page number or `pageSize` is changed, and it takes the resulting page number and pageSize as its arguments | Function(page, pageSize) | noop |
| showSizeChange | a callback function, executed when `pageSize` is changed | Function(current, size) | noop |

View File

@ -34,7 +34,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/1vqv2bj68/Pagination.svg
### 事件
| 事件名称 | 说明 | 回调参数 |
| -------------- | -------------------------------------------- | ------------------------ | ---- |
| change | 页码改变的回调,参数是改变后的页码及每页条数 | Function(page, pageSize) | noop |
| showSizeChange | pageSize 变化的回调 | Function(current, size) | noop |
| 事件名称 | 说明 | 回调参数 |
| --- | --- | --- | --- |
| change | 页码`pageSize` 改变的回调,参数是改变后的页码及每页条数 | Function(page, pageSize) | noop |
| showSizeChange | pageSize 变化的回调 | Function(current, size) | noop |