Replies: 1 comment
-
换了一个思路,新增加一个路由项,重定向到layout = false的路由项,但希望有更好的方法 |
Beta Was this translation helpful? Give feedback.
0 replies
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时,以下路由配置会在菜单中显示,升级到@umijs/max后就不显示了,使用patchClientRoutes()手动添加也无法显示,需要如何调整?
// config/routes.js
{
path: '/kanban',
name: 'kanban',
icon: 'dashboard',
layout: false,
routes: [...]
}
需求:此路由下的所有子路由不需要使用默认的layout,也就是不需要左侧和顶部区域
Beta Was this translation helpful? Give feedback.
All reactions