info',
5 buttons: {
6 cancel: true,
7 confirm: "Confirm"
8...: "确定通过审批吗",
4 icon: 'warning',
5 buttons: {
6 cancel: "取消",
7 confirm: "确定"
8...function(){}, ‘error’ ); //这种写法在我用的这个版本中是错误的,我的这个版本支持then(), 不支持直接在参数中写方法
2、API问题
在这个版本中以下写法只能实现title和text...的效果,其他属性都不起作用
1 swal({
2 title: "确定删除吗?"...,
8 closeOnConfirm: false
9 },
10 function(){
11 swal("删除!", "你的虚拟文件已经被删除。"