修改BUG:删除swal弹框需要延时弹出

This commit is contained in:
Argo-Lenovo 2016-11-18 13:04:58 +08:00
parent e388337043
commit 0dd58f7cde
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@
swal(msg, "删除数据", info);
result = result.result;
}
else swal("成功", "删除数据", "success");
else setTimeout(function () { swal("成功", "删除数据", "success") }, 100);
if (result) $(options.bootstrapTable).bootstrapTable('refresh');
}
else swal("失败", "删除数据", "error");