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
0a8047f0
authored
2025-02-26 18:03:59 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
69c7f04d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/utils/request.ts
src/utils/request.ts
View file @
0a8047f
...
...
@@ -157,7 +157,7 @@ service.interceptors.response.use(
type
:
"error"
,
duration
:
3000
})
useUserStore
().
logout
(
true
)
//
useUserStore().logout(true)
return
;
}
if
(
error
.
response
.
data
.
msg
.
indexOf
(
'token无效'
)
>
-
1
)
{
...
...
@@ -189,7 +189,7 @@ service.interceptors.response.use(
type
:
"error"
,
duration
:
3000
})
useUserStore
().
logout
(
true
)
//
useUserStore().logout(true)
break
case
500
:
if
(
error
.
response
.
data
?.
msg
)
{
...
...
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