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 | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/router/routes/modules/authority.ts b/src/router/routes/modules/authority.ts index e62c7e4..d848aa2 100644 --- a/src/router/routes/modules/authority.ts +++ b/src/router/routes/modules/authority.ts @@ -42,6 +42,16 @@ roles: ['*'], }, }, + { + path: 'role', + name: 'role', + component: () => import('@/views/authority/role/index.vue'), + meta: { + locale: 'menu.role.title', + requiresAuth: true, + roles: ['*'], + }, + }, ], }; -- Gitblit v1.8.0