轻提示 Toast

轻提示用于展示短暂的反馈信息。

基础用法

UI.toast.success('操作成功!')
UI.toast.error('操作失败!')
UI.toast.warning('请注意!')
UI.toast.info('提示信息')

API

方法说明
UI.toast.success(msg)显示成功提示
UI.toast.error(msg)显示错误提示
UI.toast.warning(msg)显示警告提示
UI.toast.info(msg)显示信息提示