Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
d9272827
Commit
d9272827
authored
Oct 25, 2019
by
dqjdda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
53554fd7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/api/login.js
+1
-1
src/utils/request.js
+1
-1
src/views/login.vue
+1
-1
No files found.
src/api/login.js
View file @
d9272827
...
...
@@ -22,7 +22,7 @@ export function getInfo() {
export
function
getCodeImg
()
{
return
request
({
url
:
'auth/
vC
ode'
,
url
:
'auth/
c
ode'
,
method
:
'get'
})
}
src/utils/request.js
View file @
d9272827
...
...
@@ -81,7 +81,7 @@ service.interceptors.response.use(
if
(
errorMsg
!==
undefined
)
{
Notification
.
error
({
title
:
errorMsg
,
duration
:
25
00
duration
:
30
00
})
}
}
...
...
src/views/login.vue
View file @
d9272827
...
...
@@ -79,7 +79,7 @@ export default {
methods
:
{
getCode
()
{
getCodeImg
().
then
(
res
=>
{
this
.
codeUrl
=
'data:image/gif;base64,'
+
res
.
img
this
.
codeUrl
=
res
.
img
this
.
loginForm
.
uuid
=
res
.
uuid
})
},
...
...
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