vtils

Home > utils > SubmitActionPayload > fail

SubmitActionPayload.fail() method

失败提示。

Signature:

fail(message: T, duration?: number): Promise<any>;

Parameters

Parameter Type Description
message T 提示信息
duration number (Optional) 持续时间(毫秒),默认 1500

Returns:

Promise<any>