This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitadmin
/
tuoheng_pilot_web_move_20240715
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1
Wiki
Activity
Browse Source
Merge branch 'develop' of gitadmin/tuoheng_pilot_web into release
release
zhangtao
1 year ago
parent
c31d64e41a
5d154d4beb
commit
c85b3dec76
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/utils/http/interceptors.js
+ 4
- 0
src/utils/http/interceptors.js
View File
@@ -41,6 +41,10 @@ export function setupInterceptor(service) {
case -1:
$message.error(response.data.msg)
break
case -2:
$message.error(response.data.msg)
signoutRedirect()
break
case 401:
// 未登录(可能是token过期或者无效了)
signoutRedirect()
Write
Preview
Loading…
Cancel
Save