Update confirm.js

This commit is contained in:
梁灏 2019-12-16 10:50:15 +08:00
parent 3baf0595c2
commit bd9c12cf88

View file

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