From 1e4a145667f460778560defccab1137b84139985 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期一, 29 七月 2024 14:10:16 +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 de853c3..64a81e7 100644 --- a/src/router/routes/modules/authority.ts +++ b/src/router/routes/modules/authority.ts @@ -32,6 +32,16 @@ roles: ['*'], }, }, + { + path: 'resource', + name: 'resource', + component: () => import('@/views/authority/resource/index.vue'), + meta: { + locale: 'menu.resource.title', + requiresAuth: true, + roles: ['*'], + }, + }, ], }; -- Gitblit v1.8.0