0
对不起,我的英文不够好。react router v4 about how to match two url with one route and one component
版本
4.1.1 我想用一个路线和一个组件匹配两个网址。 就像如下:
http://host:port/test/orders/id-1 http://host:port/test/products/id-1 我怎么能写路由路径?
谢谢。
非常感谢你玉米粥,但我想参数将是[order,product]之一。 – ryouaki
检查更新 –
谢谢,我会尽力的。 – ryouaki