message components bug fixed

message components bug fixed
This commit is contained in:
梁灏 2016-09-19 16:13:50 +08:00
parent 7c15ac9e31
commit 47e5839630
5 changed files with 25 additions and 8 deletions

View file

@ -24,6 +24,9 @@ Notification.newInstance = properties => {
notice (noticeProps) {
notification.add(noticeProps);
},
remove (key) {
notification.close(key);
},
component: notification,
destroy () {
document.body.removeChild(div);