fix: 删除optionRight属性

改用插槽代替
This commit is contained in:
2023-08-14 19:05:43 +08:00
parent fb4369711a
commit 738fd09656
2 changed files with 1 additions and 4 deletions

View File

@ -42,7 +42,6 @@ const meta = {
defaultParams: {},
formItems: [{ label: 'label1', prop: 'prop1' }, { label: 'label2', prop: 'prop2', selectOptions: [{ label: '1', value: '1' }, { label: '2', value: '2' }] }],
request,
optionRight: 'value',
pageSizes: [20, 50, 100, 200],
pagerCount: document.body.clientWidth < 992 ? 5 : 7,
props: { key: 'id', label: 'name', disabled: 'disabled' },
@ -64,7 +63,6 @@ const meta = {
:hide-pagination="args.hidePagination"
:request="args.request"
:layout="args.layout"
:optionRight="args.optionRight"
:page-sizes="args.pageSizes"
:pager-count="args.pagerCount"
:props="args.props"