docs(Pagination): improve slot desc

This commit is contained in:
chenjiahan 2020-10-01 17:05:00 +08:00
parent af43521fa2
commit 27822b2e5e
2 changed files with 8 additions and 8 deletions

View File

@ -82,8 +82,8 @@ export default {
### Slots ### Slots
| Name | Description | Default | | Name | Description | SlotProps |
| --- | --- | --- | | --- | --- | --- |
| prev-text | custom prev slot | `-` | | page `v2.10.9` | Custom pagination item | `{ number: number, text: string, active: boolean }` |
| next-text | custom next slot | `-` | | prev-text `v2.10.9` | Custom prev text | `-` |
| page | pagination item slot | `{ number: number, text: string, active: boolean }` | | next-text `v2.10.9` | Custom next text | `-` |

View File

@ -82,8 +82,8 @@ export default {
### Slots ### Slots
| 名称 | 描述 | 默认值 | | 名称 | 描述 | SlotProps |
| --- | --- | --- | | --- | --- | --- |
| prev-text | 自定义上一页插槽 | `-` | | page `v2.10.9` | 自定义页码 | `{ number: number, text: string, active: boolean }` |
| next-text | 自定义下一页插槽 | `-` | | prev-text `v2.10.9` | 自定义上一页按钮文字 | `-` |
| page | 自定义页码插槽 | `{ number: number, text: string, active: boolean }` | | next-text `v2.10.9` | 自定义下一页按钮文字 | `-` |