描述 swal 不需要点击确认按钮,自动关闭,不显示确认按钮 swal({title:"提交成功", text:"提交成功!", type:"success", showCancelButton:false, showConfirmButton:false, buttons: false, timer: 1200, })