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

网址跳转问题 #1477

Closed
Gahon1995 opened this issue Dec 29, 2018 · 1 comment
Closed

网址跳转问题 #1477

Gahon1995 opened this issue Dec 29, 2018 · 1 comment

Comments

@Gahon1995
Copy link

当我输入xxx.xx/login(login 可以是其他地址)时期望的是跳转到 xxx.xx/#/login ,但是实际上跳转的是 xxx/login#/ 请问这个问题怎么解决呢?

@PanJiaChen
Copy link
Owner

PanJiaChen commented Dec 29, 2018

vue-router的问题,如果你用 hash mode的话,暂时无解,详细 issue vuejs/vue-router#2125

或者你可以用history mode。

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