update Dropdown

update Dropdown
This commit is contained in:
梁灏 2016-12-04 17:04:48 +08:00
parent 6b71ba9418
commit 407eabd5c3
3 changed files with 126 additions and 84 deletions

View file

@ -38,6 +38,7 @@
handleClick () {
const $parent = this.$parent.$parent;
const hasChildren = this.$parent && this.$parent.$options.name === 'Dropdown';
if (this.disabled) {
this.$nextTick(() => {
$parent.visible = true;