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

Dropdown: fix placement

parent cf028a42
...@@ -27,8 +27,11 @@ ...@@ -27,8 +27,11 @@
}, },
watch: { watch: {
'$parent.menuAlign'(val) { '$parent.menuAlign': {
this.currentPlacement = `bottom-${val}`; 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