From e67d5ed9974308207b7f6340bb3952240978546c Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期五, 09 八月 2024 17:21:51 +0800 Subject: [PATCH] 知识库管理的bug修改 --- src/router/routes/modules/authority.ts | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/router/routes/modules/authority.ts b/src/router/routes/modules/authority.ts index de853c3..e62c7e4 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,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