Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
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
dcefbeb0
authored
Jul 04, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
daf50cab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
7 deletions
dist/js/person/login.js
dist/js/person/login.js
View file @
dcefbeb0
...
...
@@ -268,13 +268,13 @@
opt
.
isClick
=
true
;
IcController
.
getData
(
apis
.
authlogin
,
'POST'
,
data
.
field
,
function
(
res
)
{
if
(
res
.
err_code
==
0
)
{
//注入token
Util
.
setCookie
(
'token'
,
res
.
data
.
access_token
,
1
,
cookieHostname
);
window
.
location
.
href
=
home_url
+
'/homes'
;
}
else
{
layer
.
msg
(
res
.
err_msg
);
...
...
@@ -283,12 +283,9 @@
$
(
data
.
elem
).
removeClass
(
"layui-btn-disabled"
);
}
});
}
}
else
{
}
});
...
...
@@ -319,12 +316,9 @@
$
(
data
.
elem
).
removeClass
(
"layui-btn-disabled"
);
}
});
}
}
else
{
}
});
return
this
;
...
...
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