Tooltip: invoke 'doDestory' manually when disabled (#10498)

pull/10503/head
blackmiaool 2018-04-01 16:44:34 +08:00 committed by 杨奕
parent 10f5a661f5
commit cdb7a34136
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,10 @@ export default {
clearTimeout(this.timeoutPending);
}
this.showPopper = false;
if (this.disabled) {
this.doDestroy();
}
},
setExpectedState(expectedState) {