Skip to content
美九未来 Vue-UI
Main Navigation
美九的小窝
Appearance
Menu
Return to top
On this page
Table of Contents for current page
消息框
示例
成功提示
警告提示
信息提示
错误提示
代码
html
<
template
>
<
m9-message
type
=
"success"
>成功</
m9-message
>
</
template
>
API
属性
说明
类型
默认值
type
消息的类型
success\warning\error\info
success
text
消息文本
string
''
life
持续时间
number
0
事件
事件名称
说明
参数
close
消息关闭点击事件
() => void