Newer
Older
smartKitchenFront / src / router / modules / shopManagement.js
liuyangyingjie on 26 Oct 2022 723 bytes first commit
/* Layout */
import Layout from '@/layout/Layout'
export const shopManagement = [{
  path: 'shopManagement',
  component: Layout,
  redirect: '/exampleTable', // 重定向
  name: 'ShopManagement',
  alwaysShow: true,
  meta: {
    title: '商机管理',
    icon: '商机管理' // 图标
  },
  children: [
    {
      path: '/report',
      name: 'Report',
      component: () => import('@/views/business/report'), //重定向的组件位置
      meta: { title: '商机报备', icon: '' }
    },
    {
      path: '/historyBusiness',
      name: 'HistoryBusiness',
      component: () => import('@/views/business/historyBusiness'), //重定向的组件位置
      meta: { title: '历史商机', icon: '' }
    }
  ]
}]