vtils

Home > utils > SubmitActionPayload > fail

SubmitActionPayload.fail() method

失败提示。

Signature:

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

Parameters

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

Returns:

Promise<any>