fix bug: cascader still can be opened if set to disabled
This commit is contained in:
parent
816ff2a3bc
commit
2aa0aa6e6f
2 changed files with 11 additions and 0 deletions
|
@ -129,6 +129,7 @@
|
|||
this.visible = false;
|
||||
},
|
||||
toggleOpen () {
|
||||
if (this.disabled) return false;
|
||||
if (this.visible) {
|
||||
this.handleClose();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue