From c77f109ade55f12043acc3a94d77fd5f85144ae8 Mon Sep 17 00:00:00 2001
From: yinbangzhong <zhongbangyin@126.com>
Date: 星期四, 15 八月 2024 17:37:13 +0800
Subject: [PATCH] 角色

---
 src/router/routes/modules/authority.ts |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/src/router/routes/modules/authority.ts b/src/router/routes/modules/authority.ts
index de853c3..d848aa2 100644
--- a/src/router/routes/modules/authority.ts
+++ b/src/router/routes/modules/authority.ts
@@ -9,7 +9,7 @@
     locale: 'menu.authority',
     requiresAuth: true,
     icon: 'icon-lock',
-    order: 1,
+    order: 5,
   },
   children: [
     {
@@ -32,6 +32,26 @@
         roles: ['*'],
       },
     },
+    {
+      path: 'resource',
+      name: 'resource',
+      component: () => import('@/views/authority/resource/index.vue'),
+      meta: {
+        locale: 'menu.resource.title',
+        requiresAuth: true,
+        roles: ['*'],
+      },
+    },
+    {
+      path: 'role',
+      name: 'role',
+      component: () => import('@/views/authority/role/index.vue'),
+      meta: {
+        locale: 'menu.role.title',
+        requiresAuth: true,
+        roles: ['*'],
+      },
+    },
   ],
 };
 

--
Gitblit v1.8.0