mirror of https://github.com/ElemeFE/element
fix(dropdown): menu popup again before the settimeout end in hover mode
parent
f14b5ba540
commit
2b1ece9855
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue