"JeeSpringCloud/vscode:/vscode.git/clone" did not exist on "cd890b5acebd251be176469089a110a165d25c70"
Commit 9f7ae56f authored by qiankunpingtai's avatar qiankunpingtai
Browse files

修复退出时,点击取消也退出系统的BUG

parent 52f5020a
......@@ -105,9 +105,13 @@
});
$('#loginOut').click(function () {
if (confirm("确认要退出系统吗?"))
if (confirm("确认要退出系统吗?")){
//确定
sessionStorage.removeItem("userId");
location.href = '/user/logout';
}else{
//取消
}
})
//IE下禁止选中
document.body.onselectstart = document.body.ondrag = function () {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment