From 6816f512f5f7ff04715eca870aa6bb2b3c7c3f3a Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期三, 12 二月 2025 17:14:06 +0800 Subject: [PATCH] 路由修改 --- src/router/index.js | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 879e2db..5b337ae 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -135,14 +135,14 @@ component: Layout, hidden: true, permissions: ['system:role:edit'], - // children: [ - // { - // path: 'user/:roleId(\\d+)', - // component: () => import('@/views/system/role/authUser'), - // name: 'AuthUser', - // meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role' } - // } - // ] + children: [ + { + path: 'user/:roleId(\\d+)', + component: () => import('@/views/system/role/authUser'), + name: 'AuthUser', + meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role' } + } + ] }, { // 鏁版嵁瀛楀吀 @@ -150,14 +150,14 @@ component: Layout, hidden: true, permissions: ['system:dict:list'], - // children: [ - // { - // path: 'index/:dictId(\\d+)', - // component: () => import('@/views/system/dict/data'), - // name: 'Data', - // meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict' } - // } - // ] + children: [ + { + path: 'index/:dictId(\\d+)', + component: () => import('@/views/system/dict/data'), + name: 'Data', + meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict' } + } + ] }, { // 鏁版嵁瀛楀吀 -- Gitblit v1.9.3