Modal


基本用法

显示代码

属性

参数 说明 类型 可选值 默认值
title 标题 string 自定义
content 内容 string 自定义
maskClosable 可否点击背景关闭 Boolean true,false true
color 确定文字颜色 string 自定义
autoClose 自动关闭 Boolean true,false 默认为3秒,alert有,confirm和prompt无
callBack 回调函数 Function 自定义
placeholder prompt的input属性placeholder string
confirmText 自定义confirm文字 自定义 确定
cancelText 自定义cancel文字 自定义 取消