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

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

@@ -78,7 +78,7 @@
var jsData = {'id':data.id}
$.post('{{urlfor "ServerGroupController.AjaxDel"}}', jsData, function (out) {
if (out.status == 0) {
layer.alert('删除成功了', {icon: 1},function(index){
layer.alert('删除成功了', {icon: 1,shade:0.3,time:1000},function(index){
layer.close(index);
window.location.reload();
});