Newer
Older
smartKitchenFront / src / router / modules / orderManagement.js
liuyangyingjie on 26 Oct 2022 717 bytes first commit
/* Layout */
import Layout from '@/layout/Layout'
export const orderManagement = [{
  path: 'orderManagement',
  component: Layout,
  redirect: '/exampleTable', // 重定向
  name: 'OrderManagement',
  alwaysShow: true,
  meta: {
    title: '订单管理',
    icon: '订单管理' // 图标
  },
  children: [
    {
      path: '/orderShop',
      name: 'OrderShop',
      component: () => import('@/views/order/orderShop'), //重定向的组件位置
      meta: { title: '下订单', icon: '' }
    },
    {
      path: '/historyOrder',
      name: 'HistoryOrder',
      component: () => import('@/views/order/historyOrder'), //重定向的组件位置
      meta: { title: '历史订单', icon: '' }
    }
  ]
}]