mint-ui 中MessageBox的使用方法
1.引入
import { Message } from 'mint-ui'
2.使用
downLoad(){
MessageBox({
title: '标题',
message: '信息',
showCancelButton: true
}).then(action => {
if(action === 'confirm'){
console.log("点击了确...
原创
2019-09-28 21:12:57 ·
2085 阅读 ·
0 评论