Skip to content

message - 消息

基础用法

import { JaMessage } from '@janus-ui'

const onClick = () => {
  JaMessage({
    msg: '消息提示'
  })
}

message API​

message Attributes

参数说明类型可选值默认值
msg标题string--
duration展示时长string0则不关闭3000