mirror of https://github.com/ElemeFE/element
call `doClose()` in the exposed `close` method
parent
f307f7f428
commit
abd2d7de36
|
@ -204,6 +204,7 @@ MessageBox.prompt = (message, title, options) => {
|
|||
};
|
||||
|
||||
MessageBox.close = () => {
|
||||
instance.doClose();
|
||||
instance.visible = false;
|
||||
msgQueue = [];
|
||||
currentMsg = null;
|
||||
|
|
Loading…
Reference in New Issue