From 5359a747af9b56134302bba81bca89212d5d19d4 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期三, 31 七月 2024 00:49:30 +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