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

含有“#”的链接后面拦截问题; #85

Open
DyncLang opened this issue Jan 18, 2018 · 1 comment
Open

含有“#”的链接后面拦截问题; #85

DyncLang opened this issue Jan 18, 2018 · 1 comment

Comments

@DyncLang
Copy link

https://testbaitiao2.jihui.com/staff/#/account
https://testbaitiao2.jihui.com/staff/#/detail

上面的两个链接本来我想做同样的跳转。但是他被识别成同样的路由了。我把#号去掉才会正常;

@DespairK
Copy link

在url的标准格式中#后面的东西是锚点,会被抛弃不被识别,所以url传递过程中要主页特殊字符的转码

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