This commit is contained in:
mo.duan 2019-09-26 10:09:24 +08:00
parent 551c730771
commit 6b0409622b
2 changed files with 176 additions and 145 deletions

View file

@ -184,7 +184,9 @@ Modal.newInstance = properties => {
},
destroy () {
this.$destroy();
document.body.removeChild(this.$el);
if( this.$el ){
document.body.removeChild(this.$el);
}
this.onRemove();
},
onOk () {},