react-router-config 使用与路由鉴权

2019-08-15
阅读 4 分钟
15.3k
需要注意的是,在page2中, renderRoutes(routes)的routes是在props中获取的,即应该写成renderRoutes(props.route.routes)