fix(dropdown): menu popup again before the settimeout end in hover mode

pull/22438/head
caroundsky 2023-03-10 15:32:01 +08:00
parent f14b5ba540
commit 2b1ece9855
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@
} }
}, },
handleMenuItemClick(command, instance) { handleMenuItemClick(command, instance) {
clearTimeout(this.timeout);
if (this.hideOnClick) { if (this.hideOnClick) {
this.visible = false; this.visible = false;
} }