Skip to content

消息框

示例

代码

html
<template>
  <m9-message type="success">成功</m9-message>
</template>

API

属性说明类型默认值
type消息的类型success\warning\error\infosuccess
text消息文本string''
life持续时间number0

事件

事件名称说明参数
close消息关闭点击事件() => void

K1舞动未来 - 技术引领潮流