import Layout from '@/layout';

const usersRoutes = {
  path: '/users',
  component: Layout,
  redirect: '/user/index',
  name: 'users',
  alwaysShow: true,
  meta: {
    title: '用户管理',
    icon: 'peoples',
    permissions: ['view menu administrator'],
  },
  children: [
    {
      path: 'userlist',
      component: () => import('@/views/user/index'),
      name: 'Userlist',
      meta: { title: '用户列表', icon: 'user', permissions: ['manage user'] },
    },
  ],
};
export default usersRoutes;
