Skip to content

Commit

Permalink
fix(popover-placement): change the placement default value from 'bott…
Browse files Browse the repository at this point in the history
…om' to 'top'
  • Loading branch information
MimoN committed Oct 19, 2018
1 parent 0d2b77c commit afe3a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/view/page/components/popover/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
type: 'String',
desc: 'Popover 相对于 trigger 元素的展示位置',
options: ['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'right', 'right-start', 'right-end'],
default: 'bottom',
default: 'top',
}, {
name: 'always',
type: 'Boolean',
Expand Down
2 changes: 1 addition & 1 deletion src/components/dao-popover/dao-popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
validator(value) {
return _includes(['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'right', 'right-start', 'right-end'], value);
},
default: 'bottom',
default: 'top',
},
content: {
type: [String, Number],
Expand Down

0 comments on commit afe3a14

Please sign in to comment.