Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文档第六章构建路由有一个地方需要修改一下 #30

Open
joe960913 opened this issue Oct 11, 2019 · 1 comment
Open

文档第六章构建路由有一个地方需要修改一下 #30

joe960913 opened this issue Oct 11, 2019 · 1 comment

Comments

@joe960913
Copy link

截屏2019-10-1116 38 18

截屏2019-10-1116 38 41

倒数第二行

{ renderRoutes(props.route.routes) } => { renderRoutes(props.route.children) }

@sanyuan0704
Copy link
Owner

不用吧,react-router-config文档里面是写的route.routes渲染子路由

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants