消除timer

This commit is contained in:
Harvey Zack committed 2019-04-19 08:51:01 +08:00
1 parent 09a6c67c75
commit f457fa779c
2 files changed
+11

No files matched your search

+5
View File
@@ -14,6 +14,11 @@ export default class Info {
proxy($infoClose, 'click', () => {
this.hide();
});
this.art.on('destroy', () => {
if (this.timer) {
clearTimeout(this.timer);
}
});
}
show() {