diff --git a/examples/routers/auto-complete.vue b/examples/routers/auto-complete.vue index ba8cc5c5..d40c09c4 100644 --- a/examples/routers/auto-complete.vue +++ b/examples/routers/auto-complete.vue @@ -1,40 +1,101 @@ + diff --git a/src/components/auto-complete/auto-complete.vue b/src/components/auto-complete/auto-complete.vue index 716224f9..c80bc8f3 100644 --- a/src/components/auto-complete/auto-complete.vue +++ b/src/components/auto-complete/auto-complete.vue @@ -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,