-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ant design pro v4登陆页面进行请求会触发页面刷新🧐[问题] #9737
Labels
Comments
以下的 Issues 可能会帮助到你 / The following issues may help you
|
问题已经找到了。在request.js中,进行errorHandler处理时,设置了响应状态码的监听,因为服务端传递了登陆错误信息为401,导致会定向到登陆页面,从而触发了页面刷新问题。 |
@chenshuai2144 是的,存在相似的原因,目前已解决。 |
This was referenced Jul 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧐 问题描述
项目使用的是v4版本,需要进行登陆,然后想要获取登陆错误提示信息,但是每次发送请求后,页面都会自动进行一次刷新,导致获取不到接口返回的数据。
💻 示例代码
🚑 其他信息
The text was updated successfully, but these errors were encountered: