/abc/:type/:code
要这个code没有的时候也匹配上,
该怎么写呢?
求告知,谢谢~
react-router 2.0中可选参数写法
/abc/:type(/:code)
react-router 4.0中可选参数写法
/abc/:type/:code?
1.4m articles
1.4m replys
5 comments
56.8k users