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

Vue 路由刷新在谷歌浏览器下回偶尔跳转到主页 #3036

Closed
dj835638078 opened this issue Nov 22, 2019 · 1 comment
Closed

Vue 路由刷新在谷歌浏览器下回偶尔跳转到主页 #3036

dj835638078 opened this issue Nov 22, 2019 · 1 comment

Comments

@dj835638078
Copy link

@dj835638078 dj835638078 commented Nov 22, 2019

Version

3.0.1

Reproduction link

http://139.159.149.124:38081/#/examine/commentExamine

Steps to reproduce

用的是hash,在当前页刷新页面, 一般会停留在当前页, 但是有的电脑会跳回主路由。跳回主路由时beforeEach里面检测的是to直接变成了home的信息

What is expected?

希望页面刷新后所有电脑都能停留在当前页面
http://139.159.149.124:38081/#/examine/commentExamine链接按F5刷新,页面跳转到了http://139.159.149.124:38081/#/index

What is actually happening?

希望页面刷新后有的电脑跳转到了首页

@posva

This comment has been minimized.

Copy link
Member

@posva posva commented Nov 22, 2019

Please provide a boiled down editable repro like explained in the issue helper instructions. Open a new issue in English with it and I will take a look

@posva posva closed this Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.