-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Closed
Description
{
//一级菜单
path: '/tasks',
component: Layout,
redirect: 'noredirect',
alwaysShow: true,
meta: {
title: 'tasks',
icon: 'tasks2'
},
children: [{
//二级菜单
path: 'taskslist',
component: () => import('@/views/tasks/taskslist'),
name: 'taskslist',
meta: { title: 'taskslist', icon: 'list', noCache: true },
children: [{
//三级不显示
path: '/tasks/taskslist/taskdetail/:id(\\d+)',
component: () => import('@/views/tasks/taskslist/taskdetail'),
name: 'taskdetail',
meta: { title: 'taskdetail', noCache: true },
hidden: true
}]
}
侧边栏修改过二级能正常显示为可跳转的菜单了,问题是访问3级的那个菜单地址页面加载的是二级菜单的页面,地址栏正常是三级的地址.
Metadata
Metadata
Assignees
Labels
No labels