优化弹出框,减少等待时间

This commit is contained in:
郝大全
2018-07-25 23:27:45 +08:00
parent 41e948276c
commit 28f56d2a8c
27 changed files with 55 additions and 55 deletions

View File

@@ -142,7 +142,7 @@
var form_data = $("form").serialize();
$.post('{{urlfor "ServerController.AjaxSave"}}', form_data, function (out) {
if (out.status == 0) {
layer.msg("操作成功",{icon: 1},function () {
layer.msg("操作成功",{icon: 1,shade:0.3,time:1000},function () {
window.location.href = "/server/list"
})
} else {