I'm using MessageBox as user login box, I need to programmatically close the box after a successful login, but I can't find anything from the document to enable my doing that.
Please help.
I'm using MessageBox as user login box, I need to programmatically close the box after a successful login, but I can't find anything from the document to enable my doing that.
Please help.
有一种MessageBox.close
方法可以关闭当前实例。
import { MessageBox } from 'element-ui';
// and later
MessageBox.close()
或者,如果您不使用捆绑程序...
ELEMENT.MessageBox.close()