From 6a99341341912b65a7cbfaaad79c15bec1fb9368 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期六, 08 四月 2023 23:32:43 +0800 Subject: [PATCH] 修改了index.js --- ruoyi-ui/src/router/index.js | 39 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 37 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 953febd..d4f2436 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -121,7 +121,7 @@ children: [ { path: 'propertyInfo/:id(\\d+)', - component: () => import('@/views/note/propertyInfo'), + component: () => import('@/views/note/propertylnfo'), name: 'propertyInfo', meta: { title: '鏌ヨ璇︽儏'} } @@ -132,7 +132,7 @@ path: '/family1/bignote', component: Layout, // permissions: [], - permissions: ['family1:bignote:list'], + permissions: ['family1:bignote:list'], hidden: true, children: [ { @@ -143,6 +143,41 @@ } ] }, + //瀹跺涵璁惧璇︽儏椤� + { + path: '/jiatingshebei/device', + component: Layout, + // permissions: [], + permissions: ['jiatingshebei:device:list'], + hidden: true, + children: [ + { + path: 'equipmentInfo/:id(\\d+)', + component: () => import('@/views/device/equipmentInfo'), + name: 'equipmentInfo', + meta: { title: '鏌ヨ璇︽儏'} + } + ] + }, + + + //缂栬緫涓汉淇℃伅 + { + path: '/self/user', + component: Layout, + permissions: ['self:self:list'], + + hidden: true, + children: [ + { + path: 'edit/:id(\\d+)', + component: () => import('@/views/self/edit'), + name: 'edit', + meta: { title: '缂栬緫'} + } + ] + }, + { path: '/system/role-auth', component: Layout, -- Gitblit v1.9.1