forward
This commit is contained in:
parent
385c0eb9b8
commit
479e7838b1
2 changed files with 5 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -257,9 +257,10 @@
|
|||
this.buttonLoading = true;
|
||||
} else {
|
||||
if (this.autoClose) {
|
||||
// this.visible = false;
|
||||
this.visible = false;
|
||||
this.$emit('input', false);
|
||||
}
|
||||
this.$emit('input', false);
|
||||
|
||||
}
|
||||
this.$emit('on-ok');
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue