Home > front end >  Vue request interceptor refresh token to do? consult
Vue request interceptor refresh token to do? consult

Time:09-22

here is my request interceptors, has done to token expired code,
In the afternoon to turn over a lot of articles, thinking probably understand, but don't know how to achieve
Because of the large content of the project, so there are often multiple interfaces simultaneously, seek guidance ~



CodePudding user response:

Token failure will jump to the login page to login, or with the backend interface request returns the new token for you

  • Related