管理界面可以切换风格

This commit is contained in:
GoEdgeLab
2021-07-12 10:21:17 +08:00
parent a0dfda626f
commit 2f0627aa23
12 changed files with 159 additions and 12 deletions

View File

@@ -275,7 +275,7 @@ window.teaweb = {
Swal.fire(config);
},
successToast: function (message, timeout) {
successToast: function (message, timeout, callback) {
if (timeout == null) {
timeout = 2000
}
@@ -288,7 +288,12 @@ window.teaweb = {
icon: "success",
width: width,
timer: timeout,
showConfirmButton: false
showConfirmButton: false,
onAfterClose: function () {
if (typeof callback == "function") {
callback()
}
}
});
},
successRefresh: function (message) {