Commit 74ef0a6ae1fdf694ab3bef79625395d376a923a6
1 parent
ab719ff2
fixed #4194
Showing
3 changed files
with
7 additions
and
3 deletions
Show diff stats
src/components/select/dropdown.vue
src/components/select/select.vue
... | ... | @@ -201,9 +201,9 @@ |
201 | 201 | }, |
202 | 202 | placement: { |
203 | 203 | validator (value) { |
204 | - return oneOf(value, ['top', 'bottom']); | |
204 | + return oneOf(value, ['top', 'bottom', 'top-start', 'bottom-start', 'top-end', 'bottom-end']); | |
205 | 205 | }, |
206 | - default: 'bottom' | |
206 | + default: 'bottom-start' | |
207 | 207 | }, |
208 | 208 | transfer: { |
209 | 209 | type: Boolean, | ... | ... |
src/styles/components/select.less