fix bug: cascader still can be opened if set to disabled

This commit is contained in:
Rijn 2017-02-24 21:04:39 -06:00
parent 816ff2a3bc
commit 2aa0aa6e6f
2 changed files with 11 additions and 0 deletions

View file

@ -129,6 +129,7 @@
this.visible = false;
},
toggleOpen () {
if (this.disabled) return false;
if (this.visible) {
this.handleClose();
} else {