Home > utils > CreateSubmitOptions > fail
失败回调。
Signature:
fail(message: string, duration: number): AsyncOrSync<any>;
Returns:
AsyncOrSync<any>