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

当进入登录进入页面后,刷新页面小bug #334

Closed
timofun opened this issue Dec 7, 2017 · 2 comments
Closed

当进入登录进入页面后,刷新页面小bug #334

timofun opened this issue Dec 7, 2017 · 2 comments

Comments

@timofun
Copy link

timofun commented Dec 7, 2017

当进入登录进入页面后,随便点击几个页面,然后点击浏览器的刷新按钮,再点返回,需要点击两次才能返回。是不是路由守卫引起的

@PanJiaChen
Copy link
Owner

主要是由于该行代码导致

next({ ...to }) // hack方法 确保addRoutes已完成

暂时没有好的解决方案

@PanJiaChen
Copy link
Owner

@timofun 已修复 a9d2978

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

No branches or pull requests

2 participants