Commit ee91c12e authored by baiyaaaaa's avatar baiyaaaaa Committed by GitHub

Merge pull request #2069 from QingWei-Li/fix/dropdown

Dropdown: fix placement
parents 3c0a784a 03a01b8d
...@@ -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