更新样式:更新sweetalert按钮样式

This commit is contained in:
Argo-Surface 2018-11-22 10:43:10 +08:00
parent 5a74ac6ad4
commit 1367bd7a2c
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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 () {