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

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