message 全局提示

API

参数 说明 类型(或参数) 默认值
type 设置提示信息类型 string info
text 消息文字 string -
autoClose 是否自动关闭,如果设置为false,将会出现关闭按钮 boolean false
position 设置消息的弹出位置 string top
duration 动画的持续时间 number 2000(单位:ms)
confirm-close 点击关闭后触发 _ _