Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
0dddfd39
authored
2023-09-20 17:25:40 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
token失效跳转修改
1 parent
c49f1886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/utils/request.js
src/utils/request.js
View file @
0dddfd3
...
...
@@ -2,7 +2,7 @@
/*
* @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
* @Autor: renchao
* @LastEditTime: 2023-0
8-16 15:16:4
9
* @LastEditTime: 2023-0
9-20 14:20:3
9
*/
import
axios
from
'axios'
import
Router
from
'@/router'
...
...
@@ -77,7 +77,7 @@ service.interceptors.response.use(
Router
.
replace
({
path
:
'/login'
,
query
:
{
redirect
:
Router
.
currentRoute
.
value
.
fullPath
redirect
:
Router
.
currentRoute
.
fullPath
}
})
return
false
...
...
Please
register
or
sign in
to post a comment