Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dfa6d42d
authored
May 17, 2016
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
注销登录二次确认
parent
00465f53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
xxl-job-admin/src/main/webapp/static/js/common.1.js
xxl-job-admin/src/main/webapp/static/js/common.1.js
View file @
dfa6d42d
...
@@ -17,14 +17,16 @@ $(function(){
...
@@ -17,14 +17,16 @@ $(function(){
// logout
// logout
$
(
"#logoutBtn"
).
click
(
function
(){
$
(
"#logoutBtn"
).
click
(
function
(){
$
.
post
(
base_url
+
"/logout"
,
function
(
data
,
status
)
{
ComConfirm
.
show
(
"确认注销登录?"
,
function
(){
if
(
data
.
code
==
"200"
)
{
$
.
post
(
base_url
+
"/logout"
,
function
(
data
,
status
)
{
ComAlert
.
show
(
1
,
"注销成功"
,
function
(){
if
(
data
.
code
==
"200"
)
{
window
.
location
.
href
=
base_url
;
ComAlert
.
show
(
1
,
"注销成功"
,
function
(){
});
window
.
location
.
href
=
base_url
;
}
else
{
});
ComAlert
.
show
(
1
,
data
.
msg
);
}
else
{
}
ComAlert
.
show
(
1
,
data
.
msg
);
}
});
});
});
});
});
...
...
Write
Preview
Markdown
is supported
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