React动态路由与404动态路由在Router组件的path属性: {/url/:parameter}1<Router path='/xxx/:id' component={xxx} />Switch组件配置404页面: