fix: 插槽重复问题;默认分页参数

This commit is contained in:
2023-08-14 18:55:55 +08:00
parent 28f73e68b3
commit fb4369711a
2 changed files with 7 additions and 16 deletions

View File

@ -2,7 +2,7 @@
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-08-14 11:07:15
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-08-14 16:45:09
* @LastEditTime: 2023-08-14 18:52:56
* @FilePath: \vue3\stories\SelectTransferModal.stories.ts
* @Description:
*
@ -43,8 +43,7 @@ const meta = {
formItems: [{ label: 'label1', prop: 'prop1' }, { label: 'label2', prop: 'prop2', selectOptions: [{ label: '1', value: '1' }, { label: '2', value: '2' }] }],
request,
optionRight: 'value',
layout: 'total, sizes, prev, pager, next, jumper',
pageSizes: [10, 20, 30, 50],
pageSizes: [20, 50, 100, 200],
pagerCount: document.body.clientWidth < 992 ? 5 : 7,
props: { key: 'id', label: 'name', disabled: 'disabled' },
hidePagination: false,