From 973c01c9f5d4ef7421e423dd6c20d720f2810e3a Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期五, 06 六月 2025 16:49:49 +0800
Subject: [PATCH] fix:移除首页面包屑

---
 src/components/Breadcrumb/index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue
index 489cba1..890f2fd 100644
--- a/src/components/Breadcrumb/index.vue
+++ b/src/components/Breadcrumb/index.vue
@@ -19,9 +19,9 @@
   let matched = route.matched.filter(item => item.meta && item.meta.title);
   const first = matched[0]
   // 判断是否为首页
-  if (!isDashboard(first)) {
-    matched = [{ path: '/index', meta: { title: '首页' } }].concat(matched)
-  }
+  // if (!isDashboard(first)) {
+  //   matched = [{ path: '/', meta: { title: '首页' } }].concat(matched)
+  // }
 
   levelList.value = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
 }
@@ -59,8 +59,11 @@
   margin-left: 8px;
 
   .no-redirect {
-    color: #97a8be;
+    color: #fff;
     cursor: text;
   }
+    .el-breadcrumb__inner a{
+        color: #fff;
+    }
 }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3