We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
这一段应该也包裹在try catch 代码块中,否则当请求状态码返回401 token失效时, 第一次进入会执行不下去,只有url返回了login,动画停留在加载页,
The text was updated successfully, but these errors were encountered:
有遇到相同的问题
Sorry, something went wrong.
6a88205
目测将上面的代码放到try catch 代码块中还是不能自动跳转到login页面,
我在checkStatus.ts 中加入 router.replace({ path: PageEnum.BASE_LOGIN }); 才能跳到login, 但有时候不灵..
case 401: error(msg || t('sys.api.errMsg401')); router.replace({ path: PageEnum.BASE_LOGIN });
fix: ensure that the 401 jumps to the login page correctly, fix vbenj…
a83ec86
…s#512
No branches or pull requests
The text was updated successfully, but these errors were encountered: