src/components/Breadcrumb/index.vue
@@ -20,7 +20,7 @@ const first = matched[0] // 判断是否为首页 if (!isDashboard(first)) { matched = [{ path: '/index', meta: { title: '首页' } }].concat(matched) // matched = [{ path: '/index', meta: { title: '首页' } }].concat(matched) } levelList.value = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) @@ -63,4 +63,4 @@ cursor: text; } } </style> </style>