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 } } ] },