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

路由循环切换跳转问题 #21

Open
shuanglongpei opened this issue Mar 10, 2022 · 1 comment
Open

路由循环切换跳转问题 #21

shuanglongpei opened this issue Mar 10, 2022 · 1 comment

Comments

@shuanglongpei
Copy link

从login页面登录到首页后,切换菜单到另一个路径视图,然后刷新视图后,再navigate()到登录login页面,再登录后,就会发生之前内部两个路由路径相互疯狂循环跳转问题,不太熟悉v6的react-router-dom,但感觉是Outlet的问题

@xieyezi
Copy link
Owner

xieyezi commented Mar 12, 2022

@shuanglongpei 是升级路由导致的问题。可以看看最新 release 版本的 react router

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

2 participants