add more event

This commit is contained in:
Harvey Zack committed 2018-10-18 11:17:37 +08:00
1 parent b2159e7d4d
commit 506b34522b
14 files changed
+202 -77

No files matched your search

+2
View File
@@ -14,10 +14,12 @@ export default class Notice {
this.hide();
}, 1000);
}
this.art.emit('notice:show', $notice);
}
hide() {
const { refs: { $notice } } = this.art;
$notice.style.display = 'none';
this.art.emit('notice:hide', $notice);
}
}