AutoComplete prop: placement add more value

This commit is contained in:
梁灏 2019-09-04 17:48:53 +08:00
parent 4e32dc403f
commit 64de8de933
2 changed files with 91 additions and 30 deletions

View file

@ -87,9 +87,9 @@
},
placement: {
validator (value) {
return oneOf(value, ['top', 'bottom']);
return oneOf(value, ['top', 'bottom', 'top-start', 'bottom-start', 'top-end', 'bottom-end']);
},
default: 'bottom'
default: 'bottom-start'
},
transfer: {
type: Boolean,