/* Layout */
import Layout from '@/layout/Layout'
export const customerRouters = [{
  path: '/customer',
  component: Layout,
  redirect: '/customerManage',
  name: 'Customer',
  alwaysShow: true,
  meta: {
    title: '客户管理',
    icon: 'icon-config', // 图标
    permission: '/customerManage'
  },
  children: [
    {
      path: '/customerManage',
      name: 'CustomerManage',
      component: () => import('@/views/customerManage/customerList'),
      meta: { title: '编辑客户', icon: '', permission: '/customer/list' }
    },
    {
      path: '/blacklist',
      name: 'BlackList',
      component: () => import('@/views/blackList/blackList'),
      meta: { title: '黑名单', icon: '', permission: '/customer/blacklist' }
    }
  ]
}]
