Fix bug
This commit is contained in:
parent
c30c71c338
commit
d47d6bb12b
|
@ -51,6 +51,11 @@ export default {
|
||||||
clearTimeout(self.hideTimer);
|
clearTimeout(self.hideTimer);
|
||||||
self.hideTimer = setTimeout(self.close, 500);
|
self.hideTimer = setTimeout(self.close, 500);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
el.addEventListener('click', () => {
|
||||||
|
clearTimeout(self.showTimer);
|
||||||
|
self.close();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
unbind(el, binding, vn) {
|
unbind(el, binding, vn) {
|
||||||
|
|
Loading…
Reference in New Issue