wrappers 中 children 删除, 改成<Outlet />, 想要在routes.ts配置不改变层级路由 #12748
Unanswered
jianxingli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
umi3 中 wrappers 配置,可以接收props中的 children ,并且直接返回 children 就可以不改变路由层级


现在 umi4 就要开发者自己使用高阶组件实现,造成的后果:开发者每写一个页面级组件都要自己注入高阶组件,这个是不是不合理?
Beta Was this translation helpful? Give feedback.
All reactions