diff --git a/components/Dropdown.vue b/components/Dropdown.vue index 363cbd6ad..f47c1cabb 100644 --- a/components/Dropdown.vue +++ b/components/Dropdown.vue @@ -4,7 +4,7 @@ :open-group="Math.random().toString()" :placement="placement" trigger="manual" - offset="10" + :offset="offset" >
- +
@@ -25,7 +28,8 @@ let mouseLeaveTimer = null export default { props: { - placement: { type: String, default: 'bottom-end' } + placement: { type: String, default: 'bottom-end' }, + offset: { type: [String, Number], default: '16' } }, data() { return { diff --git a/components/LocaleSwitch.vue b/components/LocaleSwitch.vue index a31679078..b449f97b7 100644 --- a/components/LocaleSwitch.vue +++ b/components/LocaleSwitch.vue @@ -1,7 +1,8 @@