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

Dropdown: fix placement

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