mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Tooltip: invoke 'doDestory' manually when disabled (#10498)
This commit is contained in:
@@ -191,6 +191,10 @@ export default {
|
||||
clearTimeout(this.timeoutPending);
|
||||
}
|
||||
this.showPopper = false;
|
||||
|
||||
if (this.disabled) {
|
||||
this.doDestroy();
|
||||
}
|
||||
},
|
||||
|
||||
setExpectedState(expectedState) {
|
||||
|
||||
Reference in New Issue
Block a user