Dropdown: fix placement

pull/2069/head
qingwei.li 2016-12-29 16:37:46 +08:00
parent cf028a42f4
commit 03a01b8dfd
1 changed files with 5 additions and 2 deletions

View File

@ -27,8 +27,11 @@
}, },
watch: { watch: {
'$parent.menuAlign'(val) { '$parent.menuAlign': {
this.currentPlacement = `bottom-${val}`; immediate: true,
handler(val) {
this.currentPlacement = `bottom-${val}`;
}
} }
} }
}; };