ajax 异步请求返回只刷新一次页面
success:function (res) {
if (res == "ok") {
// $('#dg').bootstrapTable(('refresh'));
if (location.href.indexOf("#reloaded") == -1) {
location.href = location.href + "#reloaded";
location.reload();
}
}
}
大道三千,条条皆可证道。道心不可失。
success:function (res) {
if (res == "ok") {
// $('#dg').bootstrapTable(('refresh'));
if (location.href.indexOf("#reloaded") == -1) {
location.href = location.href + "#reloaded";
location.reload();
}
}
}