From b9d95fc3943d9e767984cf77f95e6f8231387e8e Mon Sep 17 00:00:00 2001 From: 2153917462 <2153917462@qq.com> Date: Fri, 16 May 2025 14:44:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=A2=E5=8C=85=E5=B1=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Breadcrumb/index.vue | 189 +++++++++++++++++++++------- src/layout/index.vue | 2 +- src/router/index.js | 3 +- 3 files changed, 146 insertions(+), 48 deletions(-) diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index c13e5e9..8bd3086 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -2,7 +2,11 @@ - {{ item.meta.title }} + {{ item.meta.title }} {{ item.meta.title }} @@ -10,80 +14,173 @@ - \ No newline at end of file + diff --git a/src/layout/index.vue b/src/layout/index.vue index fcdc475..90ca519 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -5,7 +5,7 @@
- +
diff --git a/src/router/index.js b/src/router/index.js index 627cc33..51a957e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -61,12 +61,13 @@ export const constantRoutes = [ path: '', component: Layout, redirect: '/index', + hidden: true, children: [ { path: '/index', component: () => import('@/views/index'), name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } + meta: { title: '首页', icon: 'dashboard', affix: true, breadcrumb: false } } ] },