Paeg、Select add placement

This commit is contained in:
梁灏 2017-04-27 17:35:47 +08:00
parent cb6418ac5e
commit f89dd9c287
5 changed files with 30 additions and 17 deletions

View file

@ -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']);