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

Dropdown: fix placement
pull/2081/head
baiyaaaaa 2016-12-29 21:38:02 +08:00 committed by GitHub
commit ee91c12e7a
1 changed files with 5 additions and 2 deletions

View File

@ -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>