This commit is contained in:
yison 2019-03-20 20:40:39 +08:00
parent d7987d1e0a
commit 1b73d655aa

View file

@ -166,9 +166,12 @@ Modal.newInstance = properties => {
if (this.loading) { if (this.loading) {
this.buttonLoading = true; this.buttonLoading = true;
} else { } else {
if (this.autoClose) {
this.$children[0].visible = false; this.$children[0].visible = false;
this.remove(); this.remove();
} }
}
this.onOk(); this.onOk();
}, },
remove () { remove () {