Skip to content

MessageConfirm 消息确认框 ​

比message更明确的消息提示,需要经过确认才能关闭

基础用法 ​

配置项 ​

属性名描述默认值可选值必填类型
title消息标题--否string
message消息内容--是string
confirmButtonType消息类型-primary、info、success、warning、danger否ColorType
confirmButtonText确认按钮文字--否string
cancelButtonText取消按钮文字,不传则没有取消按钮--否string
onClose关闭时的回调函数,回参action: cancel/confirm--否Function

基于 MIT 协议