vtils

Home > utils > SubmitActionPayload > success

SubmitActionPayload.success() method

成功提示。

Signature:

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

Parameters

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

Returns:

Promise<any>