mirror of https://github.com/ElemeFE/element
Tooltip: invoke 'doDestory' manually when disabled (#10498)
parent
10f5a661f5
commit
cdb7a34136
|
@ -191,6 +191,10 @@ export default {
|
|||
clearTimeout(this.timeoutPending);
|
||||
}
|
||||
this.showPopper = false;
|
||||
|
||||
if (this.disabled) {
|
||||
this.doDestroy();
|
||||
}
|
||||
},
|
||||
|
||||
setExpectedState(expectedState) {
|
||||
|
|
Loading…
Reference in New Issue