Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
772fad17
Commit
772fad17
authored
Nov 29, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 升级@wisdom-utils/utls
parent
ff8cc638
Pipeline
#39072
passed with stages
in 13 minutes 20 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
index.js
src/api/index.js
+1
-0
login.js
src/pages/user/login/login.js
+1
-1
No files found.
src/api/index.js
View file @
772fad17
...
@@ -63,6 +63,7 @@ instanceRequest.setErrorHandler(error => {
...
@@ -63,6 +63,7 @@ instanceRequest.setErrorHandler(error => {
return
response
;
return
response
;
});
});
console
.
log
(
"instanceRequest"
,
instanceRequest
)
const
appService
=
service
(
AppService
);
const
appService
=
service
(
AppService
);
const
noticeService
=
service
(
notificationService
);
const
noticeService
=
service
(
notificationService
);
export
{
appService
,
noticeService
};
export
{
appService
,
noticeService
};
src/pages/user/login/login.js
View file @
772fad17
...
@@ -798,7 +798,7 @@ class Login {
...
@@ -798,7 +798,7 @@ class Login {
return
data
return
data
}
else
{
}
else
{
message
.
error
({
message
.
error
({
duration
:
3
00
,
duration
:
3
,
content
:
`授权失败:
${
res
.
msg
}
`
content
:
`授权失败:
${
res
.
msg
}
`
});
});
self
.
events
.
emit
(
'loginError'
,
res
.
msg
);
self
.
events
.
emit
(
'loginError'
,
res
.
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