修改BUG:删除swal弹框需要延时弹出
This commit is contained in:
parent
e388337043
commit
0dd58f7cde
|
@ -167,7 +167,7 @@
|
||||||
swal(msg, "删除数据", info);
|
swal(msg, "删除数据", info);
|
||||||
result = result.result;
|
result = result.result;
|
||||||
}
|
}
|
||||||
else swal("成功", "删除数据", "success");
|
else setTimeout(function () { swal("成功!", "删除数据", "success") }, 100);
|
||||||
if (result) $(options.bootstrapTable).bootstrapTable('refresh');
|
if (result) $(options.bootstrapTable).bootstrapTable('refresh');
|
||||||
}
|
}
|
||||||
else swal("失败", "删除数据", "error");
|
else swal("失败", "删除数据", "error");
|
||||||
|
|
Loading…
Reference in New Issue