Newer
Older
smartKitchenFront / src / router / modules / servesManagement.js
liuyangyingjie on 26 Oct 2022 938 bytes first commit
/* Layout */
import Layout from '@/layout/Layout'
export const servesManagement = [{
  path: 'servesManagement',
  component: Layout,
  redirect: '/exampleTable', // 重定向
  name: 'ServesManagement',
  alwaysShow: true,
  meta: {
    title: '服务管理',
    icon: '服务管理' // 图标
  },
  children: [
    {
      path: '/typeManagement',
      name: 'TypeManagement',
      component: () => import('@/views/server/TypeManagement'), //重定向的组件位置
      meta: { title: '服务类型管理', icon: '' }
    },
    {
      path: '/management',
      name: 'Management',
      component: () => import('@/views/server/Management'), //重定向的组件位置
      meta: { title: '服务管理', icon: '' }
    },
    {
      path: '/operation',
      name: 'Operation',
      component: () => import('@/views/server/operation'), //重定向的组件位置
      meta: { title: '服务运营', icon: '' }
    }
  ]
}]