import { Layout } from '@/utils/routerHelper'
const pre = 'cashier'

export default {
  path: `/${pre}`,
  component: Layout,
  name: `${pre}`,
  redirect: '/cashier/menu',
  meta: {
    title: '收银台',
    icon: 'vi-eos-icons:role-binding',
    alwaysShow: true
  },
  children: [
    {
      path: 'menu',
      component: () => import('@/views/Cashier/Menu/Menu.vue'),
      name: `${pre}-menu`,
      meta: {
        title: 'erp菜单'
      }
    },
    // {
    //   path: 'user',
    //   component: () => import('@/views/Erp/User/User.vue'),
    //   name: `${pre}-user`,
    //   meta: {
    //     title: '管理员'
    //   }
    // },
    // {
    //   path: 'role',
    //   component: () => import('@/views/Erp/Role/Role.vue'),
    //   name: `${pre}-role`,
    //   meta: {
    //     title: '角色管理'
    //   }
    // }
  ]
}
