zhangwei
2025-08-05 b94b71d44d62802bb8093f64a202d0176fdade50
src/router/modules/item.ts
@@ -1,12 +1,21 @@
export default {
  path: "/item",
  component: () => import("@/views/system/dept/index.vue"),
  name: "item",
  // redirect: "/error/403",
  meta: {
    icon: "ri/information-line",
    // showLink: hasFlash,
    title: "项目管理",
    rank: 9
  }
    icon: "mdi:chart-timeline"
  },
  children: [
    {
      // path随便写,但前面必须有个 `/`
      path: "/item",
      // component对应的值前不需要加 / 值对应的是实际业务 `.vue` 或 `.tsx` 代码路径
      component: () => import("@/views/system/dept/index.vue"),
      name: "item",
      meta: {
        title: "项目管理",
        roles: ["GYS"]
        // showLink:false
      }
    }
  ]
} satisfies RouteConfigsTable;