Fix bug
This commit is contained in:
parent
ee9957fd0b
commit
f64e5a17ea
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,11 @@ export default {
|
|||
clearTimeout(self.hideTimer);
|
||||
self.hideTimer = setTimeout(self.close, 500);
|
||||
});
|
||||
|
||||
el.addEventListener('click', () => {
|
||||
clearTimeout(self.showTimer);
|
||||
self.close();
|
||||
});
|
||||
},
|
||||
|
||||
unbind(el, binding, vn) {
|
||||
|
|
Loading…
Reference in a new issue