【发布时间】:2020-03-08 09:18:30
【问题描述】:
我试图添加正则表达式以允许如下路径,但我无法使其工作。
例如:
'/hello/search.apple.tree''/hello/search.mango.tr''/view/location.chicago.illinois''/view/location.boston.ma'
【问题讨论】:
-
能否请您出示路由器代码?查看您启用了哪些路线..
-
也许这是您需要的答案。 stackoverflow.com/questions/36923466/…
标签: reactjs react-router react-router-v4 react-router-dom