Paeg、Select add placement
This commit is contained in:
parent
cb6418ac5e
commit
f89dd9c287
5 changed files with 30 additions and 17 deletions
|
@ -52,6 +52,7 @@
|
|||
:show-sizer="showSizer"
|
||||
:page-size="currentPageSize"
|
||||
:page-size-opts="pageSizeOpts"
|
||||
:placement="placement"
|
||||
:show-elevator="showElevator"
|
||||
:_current.once="currentPage"
|
||||
:current="currentPage"
|
||||
|
@ -92,6 +93,12 @@
|
|||
return [10, 20, 30, 40];
|
||||
}
|
||||
},
|
||||
placement: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['top', 'bottom']);
|
||||
},
|
||||
default: 'bottom'
|
||||
},
|
||||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['small']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue