Skip to content
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

关于重定向的问题 #210

Open
cosmos33 opened this issue May 26, 2019 · 1 comment
Open

关于重定向的问题 #210

cosmos33 opened this issue May 26, 2019 · 1 comment

Comments

@cosmos33
Copy link

拦截重定向请求,采用递归的方式将其完成,这时前端同学获取 window.location.href,必然是重定向之前的页面,所以会出现错误,请问是如何解决的?

@cosmos33
Copy link
Author

cosmos33 commented Jun 5, 2019

库如果不维护,建议就close掉。最后我是用本地执行js的方案 window.location.replace($location)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant