删除多余字符

This commit is contained in:
Harvey committed 2019-11-27 17:11:42 +08:00
1 parent 2cf7905d58
commit 14701f2141
3 files changed
+7 -6

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ export default class Notice {
addClass($player, 'art-notice-show');
clearTimeout(this.timer);
this.timer = setTimeout(() => {
$noticeInner.innerText = '';
removeClass($player, 'art-notice-show');
}, this.time);
}