Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
a6ee3e2c
authored
2023-05-25 14:44:57 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:监管
1 parent
241897bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
src/utils/request.js
src/utils/request.js
View file @
a6ee3e2
...
...
@@ -69,23 +69,12 @@ function handleErrorData (status) {
window
.
tokenValid
=
false
;
Message
.
error
(
"由于长时间未操作,请重新登录!"
);
localStorage
.
removeItem
(
"token"
);
let
code
=
Vue
.
prototype
.
BASE_API
.
CODE
if
(
code
==
'BDCSBPT'
)
{
router
.
replace
({
path
:
"/login"
,
query
:
{
redirect
:
router
.
history
.
current
.
fullPath
,
},
});
}
else
{
router
.
replace
({
path
:
"/jg"
,
query
:
{
redirect
:
router
.
history
.
current
.
fullPath
,
},
});
}
}
break
;
case
404
:
...
...
Please
register
or
sign in
to post a comment