Newer
Older
smartKitchenFront / src / router / modules / shopManagement.js
liuyangyingjie on 31 Oct 2022 721 bytes feat(修改问题,添加注释): 整体提交
/* 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: ''}
    }
  ]
}]