Skip to main content
版本:v3+

Toast 提示

类型​

(props: Props, renderFuncArr?: RenderFunc | Array<RenderFunc>) => result: RenderFunc

Props: object​

名称说明必填类型默认值
duration弹窗提示持续时间否number2000
horizontalToast 的水平位置否stringcenter
message要显示的消息否string-
verticalToast 的垂直位置否stringtop
visible如果为 true,则 Toast 可见否boolean-
onClose当组件请求关闭时触发回调否function-