Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
9f7ae56f
"JeeSpringCloud/vscode:/vscode.git/clone" did not exist on "cd890b5acebd251be176469089a110a165d25c70"
Commit
9f7ae56f
authored
Apr 23, 2019
by
qiankunpingtai
Browse files
修复退出时,点击取消也退出系统的BUG
parent
52f5020a
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/common/main.html
View file @
9f7ae56f
...
...
@@ -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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment