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
4ae28720
Commit
4ae28720
authored
Sep 01, 2021
by
季圣华
Browse files
优化登录接口
parent
45d8be13
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/user/Login.vue
View file @
4ae28720
...
...
@@ -133,7 +133,7 @@
that
.
form
.
validateFields
([
'
loginName
'
,
'
password
'
,
'
rememberMe
'
],
{
force
:
true
},
(
err
,
values
)
=>
{
if
(
!
err
)
{
loginParams
.
loginName
=
values
.
loginName
loginParams
.
password
=
md5
(
values
.
password
)
loginParams
.
password
=
values
.
password
//loginParams.remember_me = values.rememberMe
console
.
log
(
"
登录参数
"
,
loginParams
)
that
.
Login
(
loginParams
).
then
((
res
)
=>
{
...
...
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