fix(projects): fix refresh token when meet multi requests. fixed #581

This commit is contained in:
Soybean
2024-09-07 11:10:58 +08:00
parent 79b2a28b5a
commit 27b5222cfb
4 changed files with 38 additions and 34 deletions

2
.env
View File

@ -36,7 +36,7 @@ VITE_SERVICE_LOGOUT_CODES=8888,8889
VITE_SERVICE_MODAL_LOGOUT_CODES=7777,7778
# token expired codes of backend service, when the code is received, it will refresh the token and resend the request
VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998
VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998,3333
# when the route mode is static, the defined super role
VITE_STATIC_SUPER_ROLE=R_SUPER