This commit is contained in:
Aresn 2017-06-01 18:24:55 +08:00
parent 48e7799edf
commit 4fbcd59183
2 changed files with 1 additions and 28 deletions

View file

@ -31,9 +31,7 @@ LoadingBar.newInstance = properties => {
},
component: loading_bar,
destroy () {
setTimeout(function() {
document.body.removeChild(document.getElementsByClassName('ivu-loading-bar')[0].parentElement);
}, 500);
document.body.removeChild(document.getElementsByClassName('ivu-loading-bar')[0]);
}
};
};