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 #16

Closed
bigmeow opened this issue Mar 4, 2016 · 3 comments
Closed

路由位置Bug #16

bigmeow opened this issue Mar 4, 2016 · 3 comments

Comments

@bigmeow
Copy link

bigmeow commented Mar 4, 2016

滑到A页面底部,跳转到B页面,点击返回,又到了A页面顶部;没有记住位置

@airyland
Copy link
Owner

airyland commented Mar 4, 2016

这是因为hash路由每个页面都是重新渲染,没有记住位置。启用html5模式后应该可以记住位置,我尝试一下记住滚动位置。

@zn3051644
Copy link

这个问题现在有解决吗 @airyland

@airyland
Copy link
Owner

@zn3051644 并非 VUX 要解决的问题,需要自己保存位置进入时再滚动到相应位置。

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

3 participants