const Layout = () => import("@/layout/index.vue");

export default {
  path: "/system",
  name: "system",
  component: Layout,
  redirect: "/system/user",
  meta: {
    title: "系统管理",
    icon: "House",
  },
  children: [
    {
      path: "user",
      component: () => import("@/views/system/user/index.vue"),
      name: "SystemUser",
      meta: {
        title: "用户管理",
        icon: "User",
      },
    },
    {
      path: "role",
      component: () => import("@/views/system/role/index.vue"),
      name: "SystemRole",
      meta: {
        title: "角色管理",
        icon: "Refrigerator",
      },
    }
  ],
};
