您的位置:首页 > 其它

弹出框确定之后刷新页面的问题

2017-09-01 16:58 211 查看
success: function (result) {
if (result.status == true) {
swal({title: "信息!", text: "添加同级成功", showConfirmButton: true},
/*function (isConfirm) {
history.go(0);
}*/
);
} else {
swal({title: "异常!", text: "后台服务器异常", showConfirmButton: true});
}
},
error: function () {
swal({title: "异常!", text: "后台服务器异常,或者查看网络连接", showConfirmButton: true});
}
下面的这一部分是刷新整个页面,即整个屏幕的页面都会刷新
/*function (isConfirm) {
history.go(0);
}*/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: