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

react中点击a标签的锚点会改变路由地址 #9

Open
goldenYI opened this issue Jan 21, 2017 · 1 comment
Open

react中点击a标签的锚点会改变路由地址 #9

goldenYI opened this issue Jan 21, 2017 · 1 comment

Comments

@goldenYI
Copy link
Owner

goldenYI commented Jan 21, 2017

<a href="#123">
<div id="123">some content</div>

路由变成了/123
如何在不改变路由的情况下跳到正确的位置?

@goldenYI
Copy link
Owner Author

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

1 participant