From b94b71d44d62802bb8093f64a202d0176fdade50 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期二, 05 八月 2025 17:00:46 +0800
Subject: [PATCH] '一些更改'

---
 src/router/modules/item.ts |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/router/modules/item.ts b/src/router/modules/item.ts
index 28141ae..7c93c3e 100644
--- a/src/router/modules/item.ts
+++ b/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` 浠g爜璺緞
+      component: () => import("@/views/system/dept/index.vue"),
+      name: "item",
+      meta: {
+        title: "椤圭洰绠$悊",
+        roles: ["GYS"]
+        // showLink:false
+      }
+    }
+  ]
 } satisfies RouteConfigsTable;

--
Gitblit v1.9.1