Commit 03a01b8d authored by qingwei.li's avatar qingwei.li

Dropdown: fix placement

parent cf028a42
......@@ -27,8 +27,11 @@
},
watch: {
'$parent.menuAlign'(val) {
this.currentPlacement = `bottom-${val}`;
'$parent.menuAlign': {
immediate: true,
handler(val) {
this.currentPlacement = `bottom-${val}`;
}
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment