This commit is contained in:
syuilo 2020-02-01 09:45:30 +09:00
parent c30c71c338
commit d47d6bb12b

View file

@ -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) {