fix
This commit is contained in:
parent
d7987d1e0a
commit
1b73d655aa
1 changed files with 5 additions and 2 deletions
|
@ -166,8 +166,11 @@ Modal.newInstance = properties => {
|
||||||
if (this.loading) {
|
if (this.loading) {
|
||||||
this.buttonLoading = true;
|
this.buttonLoading = true;
|
||||||
} else {
|
} else {
|
||||||
this.$children[0].visible = false;
|
if (this.autoClose) {
|
||||||
this.remove();
|
this.$children[0].visible = false;
|
||||||
|
this.remove();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
this.onOk();
|
this.onOk();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue