Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
60fc478d
authored
2025-03-18 13:55:25 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
接口401时提醒,退出登录
1 parent
eb0385bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/utils/request.ts
src/utils/request.ts
View file @
60fc478
...
...
@@ -151,7 +151,7 @@ service.interceptors.response.use(
switch
(
error
.
response
.
status
)
{
case
400
:
let
status
=
error
.
response
.
data
.
status
;
if
(
status
==
'402'
||
status
==
'403'
)
{
if
(
status
==
'40
1'
||
status
==
'40
2'
||
status
==
'403'
)
{
ElMessage
({
message
:
error
.
response
.
data
.
msg
,
type
:
"error"
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment