bugfix on .destroy
This commit is contained in:
parent
e3e81f682d
commit
55b608a6b8
2 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,7 @@ Notification.newInstance = properties => {
|
|||
},
|
||||
component: notification,
|
||||
destroy () {
|
||||
document.body.removeChild(div);
|
||||
document.body.removeChild(document.getElementsByClassName('ivu-message')[0].parentElement);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue