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;
|
this.buttonLoading = true;
|
||||||
} else {
|
} else {
|
||||||
if (this.autoClose) {
|
if (this.autoClose) {
|
||||||
// this.$children[0].visible = false;
|
this.$children[0].visible = false;
|
||||||
// this.remove();
|
this.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -257,10 +257,11 @@
|
||||||
this.buttonLoading = true;
|
this.buttonLoading = true;
|
||||||
} else {
|
} else {
|
||||||
if (this.autoClose) {
|
if (this.autoClose) {
|
||||||
// this.visible = false;
|
this.visible = false;
|
||||||
}
|
|
||||||
this.$emit('input', false);
|
this.$emit('input', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
this.$emit('on-ok');
|
this.$emit('on-ok');
|
||||||
},
|
},
|
||||||
EscClose (e) {
|
EscClose (e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue