优化弹出框,减少等待时间
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user