更新样式:更新sweetalert按钮样式
This commit is contained in:
parent
5a74ac6ad4
commit
1367bd7a2c
|
@ -30,9 +30,9 @@
|
|||
title: "您确定要删除吗?",
|
||||
type: "warning",
|
||||
showCancelButton: true,
|
||||
closeOnConfirm: true,
|
||||
confirmButtonText: "是的,我要删除",
|
||||
confirmButtonColor: "#d9534f",
|
||||
cancelButtonClass: 'btn-secondary',
|
||||
confirmButtonText: "我要删除",
|
||||
confirmButtonClass: "btn-danger ml-2",
|
||||
cancelButtonText: "取消"
|
||||
}, function (del) {
|
||||
resolve(!del);
|
||||
|
|
|
@ -135,9 +135,9 @@
|
|||
title: "您确定要删除吗?",
|
||||
type: "warning",
|
||||
showCancelButton: true,
|
||||
closeOnConfirm: true,
|
||||
confirmButtonText: "是的,我要删除",
|
||||
confirmButtonColor: "#d9534f",
|
||||
cancelButtonClass: 'btn-secondary',
|
||||
confirmButtonText: "我要删除",
|
||||
confirmButtonClass: "btn-danger ml-2",
|
||||
cancelButtonText: "取消"
|
||||
}, function () {
|
||||
setTimeout(function () {
|
||||
|
|
Loading…
Reference in New Issue