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

路由匹配问题 #94

Open
zhdxmw opened this issue Oct 26, 2018 · 2 comments
Open

路由匹配问题 #94

zhdxmw opened this issue Oct 26, 2018 · 2 comments

Comments

@zhdxmw
Copy link

zhdxmw commented Oct 26, 2018

设置路由

localhost:3000/my 访问
前后随便输入什么 localhost:3000/dfdsf/my/fdsfds 还可以访问到my
怎么做精确匹配 ?

@zhdxmw
Copy link
Author

zhdxmw commented Oct 26, 2018

<Route path="/my" component={My} ></Route>

@lanistor
Copy link
Owner

@zhdxmw 安装v2.1.9版本,已经修复这个问题。

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