vtils

Home > utils > SubmitActionPayload > success

SubmitActionPayload.success() method

成功提示。

Signature:

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

Parameters

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

Returns:

Promise<any>