docs(pagination): fix pageSizeOptions API (#7010)
parent
664711373c
commit
77eab3637c
|
@ -29,7 +29,7 @@ A long list can be divided into several pages using `Pagination`, and only one p
|
|||
| hideOnSinglePage | Whether to hide pager on single page | boolean | false | |
|
||||
| itemRender | to customize item innerHTML | (page, type: 'page' \| 'prev' \| 'next', originalElement) => vNode \| v-slot | - | |
|
||||
| pageSize(v-model) | number of data items per page | number | - | |
|
||||
| pageSizeOptions | specify the sizeChanger options | string\[] | \['10', '20', '30', '40'] | |
|
||||
| pageSizeOptions | specify the sizeChanger options | string\[] \| number\[] | \['10', '20', '50', '100'] | |
|
||||
| responsive | If `size` is not specified, `Pagination` would resize according to the width of the window | boolean | - | 3.1 |
|
||||
| showLessItems | Show less page items | boolean | false | 1.5.0 |
|
||||
| showQuickJumper | determine whether you can jump to pages directly | boolean | false | |
|
||||
|
|
|
@ -24,7 +24,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*WM86SrBC8TsAAA
|
|||
| hideOnSinglePage | 只有一页时是否隐藏分页器 | boolean | false | |
|
||||
| itemRender | 用于自定义页码的结构,可用于优化 SEO | ({page, type: 'page' \| 'prev' \| 'next', originalElement}) => vNode \| v-slot | - | |
|
||||
| pageSize(v-model) | 每页条数 | number | - | |
|
||||
| pageSizeOptions | 指定每页可以显示多少条 | string\[] | \['10', '20', '30', '40'] | |
|
||||
| pageSizeOptions | 指定每页可以显示多少条 | string\[] \| number\[] | \['10', '20', '50', '100'] | |
|
||||
| responsive | 当 size 未指定时,根据屏幕宽度自动调整尺寸 | boolean | - | 3.1 |
|
||||
| showLessItems | 是否显示较少页面内容 | boolean | false | 1.5.0 |
|
||||
| showQuickJumper | 是否可以快速跳转至某页 | boolean | false | |
|
||||
|
|
Loading…
Reference in New Issue