From 5ac1a12698a1844ee0a707393cd8293419f248cb Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Tue, 30 Jul 2024 09:38:24 +0800 Subject: [PATCH] bug --- fuintAdmin/src/router/index.js | 12 ++++----- .../layout/components/Sidebar/SidebarItem.vue | 10 +++++--- fuintAdmin_zt/src/router/index.js | 25 ++++++++++++++----- 3 files changed, 32 insertions(+), 15 deletions(-) diff --git a/fuintAdmin/src/router/index.js b/fuintAdmin/src/router/index.js index 2573bbe17..d0097309b 100644 --- a/fuintAdmin/src/router/index.js +++ b/fuintAdmin/src/router/index.js @@ -86,12 +86,12 @@ export const constantRoutes = [ name: 'Index', meta: { title: '系统首页', icon: 'dashboard', affix: true } }, - { - path: 'resource_oilstore', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '系统首页', icon: 'dashboard', affix: true } - } + // { + // path: 'resource_oilstore', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '系统首页', icon: 'dashboard', affix: true } + // } ] }, { diff --git a/fuintAdmin_zt/src/layout/components/Sidebar/SidebarItem.vue b/fuintAdmin_zt/src/layout/components/Sidebar/SidebarItem.vue index 8da8497e0..6ddd86526 100644 --- a/fuintAdmin_zt/src/layout/components/Sidebar/SidebarItem.vue +++ b/fuintAdmin_zt/src/layout/components/Sidebar/SidebarItem.vue @@ -109,9 +109,9 @@ - - - + + + @@ -149,6 +149,10 @@ + + + +
{{item.meta.title}}
diff --git a/fuintAdmin_zt/src/router/index.js b/fuintAdmin_zt/src/router/index.js index 23355ef9d..639c39729 100644 --- a/fuintAdmin_zt/src/router/index.js +++ b/fuintAdmin_zt/src/router/index.js @@ -67,14 +67,27 @@ export const constantRoutes = [ name: 'Index', meta: { title: '系统首页', icon: 'dashboard', affix: true } }, - { - path: 'resource_oilbank', - component: () => import('@/views/Service/index.vue'), - name: 'Index', - meta: { title: '系统首页', icon: 'dashboard', affix: true } - } + // { + // path: 'resource_oilbank', + // component: () => import('@/views/Service/index.vue'), + // name: 'Index', + // meta: { title: '系统首页', icon: 'dashboard', affix: true } + // } ] }, + // { + // path: 'resource_oilbank', + // component: Layout, + // redirect: 'index', + // children: [ + // { + // path: '', + // component: () => import('@/views/Service/index.vue'), + // name: 'Index', + // meta: { title: '系统首页', icon: 'dashboard', affix: true } + // }, + // ] + // }, { path: '/account', component: Layout,