0
点赞
收藏
分享

微信扫一扫

多级菜单

{
   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'}
         },
       ]
     }
   ]
}

举报

相关推荐

0 条评论