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,9 +27,12 @@
},
watch: {
'$parent.menuAlign'(val) {
'$parent.menuAlign': {
immediate: true,
handler(val) {
this.currentPlacement = `bottom-${val}`;
}
}
}
};
</script>