This commit is contained in:
yison 2019-03-21 12:50:36 +08:00
parent 385c0eb9b8
commit 479e7838b1
2 changed files with 5 additions and 4 deletions

View file

@ -169,8 +169,8 @@ Modal.newInstance = properties => {
this.buttonLoading = true;
} else {
if (this.autoClose) {
// this.$children[0].visible = false;
// this.remove();
this.$children[0].visible = false;
this.remove();
}
}

View file

@ -257,10 +257,11 @@
this.buttonLoading = true;
} else {
if (this.autoClose) {
// this.visible = false;
}
this.visible = false;
this.$emit('input', false);
}
}
this.$emit('on-ok');
},
EscClose (e) {