0

路由跳转后让指定的菜单高亮显示

 {
    path: '',
    component: Layout,
    children: [
      { path: '/home', name: 'Home', component: () => import('@/views/home/index'), meta: { title: '点餐', icon: 'order1' }},
      { path: '/menu', name: 'Menu', component: () => import('@/views/home/menu'), meta: { title: '餐桌', icon: 'order1' }, hidden: true }
    ]
  },

图片描述

1 个回答

撰写答案

推广链接