优化注册界面

This commit is contained in:
季圣华
2019-05-03 15:53:45 +08:00
parent 8eda014169
commit 3739bd2dfd
5 changed files with 25 additions and 14 deletions

View File

@@ -105,9 +105,12 @@
});
$('#loginOut').click(function () {
if (confirm("确认要退出系统吗?"))
sessionStorage.removeItem("userId");
location.href = '/user/logout';
$.messager.confirm("提示","确认要退出系统吗?",function(r){
if(r) {
sessionStorage.removeItem("userId");
location.href = '/user/logout';
}
});
})
//IE下禁止选中
document.body.onselectstart = document.body.ondrag = function () {