1. 簡易基本版 sweetalert 涵蓋日常基本的彈出及對話框
2. 升級版本 sweetalert2 滿足常見開發工作中的各種要求
3 取消 OK 按鈕, 只需要設置 showConfirmButton: false,
Swal({
title: 'Oops...',
text: 'Something went wrong!',
showConfirmButton: false,
})
Swal({
title: 'Oops...',
text: 'Something went wrong!',
showConfirmButton: false,
})
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。