import Layout from '@/layout';

const deviceRoutes = {
  path: '/device',
  component: Layout,
  redirect: '/device/index',
  name: 'Devices',
  alwaysShow: true,
  meta: {
    title: '设备管理',
    icon: 'device',
    permissions: ['view menu administrator'],
  },
  children: [
    {
      path: 'device',
      component: () => import('@/views/device/index'),
      name: 'Device',
      meta: { title: '设备列表', icon: 'devicelist', permissions: ['manage user'] },
    },
  ],
};
export default deviceRoutes;
