{
path: '/hxb_sys',
component: Layout,
redirect: '/hxb_sys/branch',
name: 'hxBank',
meta: {
title: '华夏银行',
icon: 'el-icon-s-help'
},
children: [
{ // 二级菜单1
},
{ // 二级菜单2
path: 'homePage', // 首页管理
component: () => import('@/views/hxb_sys/index'), // Parent router-view
name: 'HomePage',
meta: { title: '首页管理', icon: 'el-icon-s-cooperation' },
alwaysShow: true, // 需要设置该选项
children: [
{ // 三级菜单1
path: 'category',
component: () => import('@/views/hxb_sys/homePage/category'),
name: 'Category',
meta: { title: '分页列表' , icon: 'el-icon-s-operation'}
},
{ // 三级菜单2
path: 'banner',
component: () => import('@/views/hxb_sys/homePage/banner'),
name: 'Banner',
meta: { title: 'Banner' , icon: 'el-icon-s-operation'}
},
]
}
]
}
标签:hxb,菜单,el,多级,sys,title,icon
From: https://blog.51cto.com/u_16150721/7204838