-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Closed
Description
Bug report(问题描述)
asyncRoutes加载的路由,无法显示在侧边栏上
Steps to reproduce(问题复现步骤)
Screenshot or Gif(截图或动态图)
Link to minimal reproduction(最小可在线还原demo)
export const asyncRoutes = [
{
path: '/home',
name: 'sccc',
component: Layout,
meta: {
title: '管理员',
icon: 'dashboard',
roles: ['ROLE_ADMIN'],
},
children: [
{
path: '/user',
name: 'scc',
component: Home,
meta: {
title: 's',
}
}
]
},
{
path: '/121',
name: '121',
component: Layout,
// hidden:true,
meta: {
title: '登录ssss',
roles: ['ROLE_ADMIN'],
}
},}
Other relevant information(格外信息)
- Your OS:
- Node.js version:
- vue-element-admin version:最新
Metadata
Metadata
Assignees
Labels
No labels
