From e943d5c81c311fc9eb51513c018689b6978ae135 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期日, 13 四月 2025 13:08:54 +0800 Subject: [PATCH] 123123 --- zhitan-vue/src/components/Breadcrumb/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/zhitan-vue/src/components/Breadcrumb/index.vue b/zhitan-vue/src/components/Breadcrumb/index.vue index 729370a..6c873a0 100644 --- a/zhitan-vue/src/components/Breadcrumb/index.vue +++ b/zhitan-vue/src/components/Breadcrumb/index.vue @@ -18,10 +18,11 @@ // only show routes with meta.title 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: '/index', meta: { title: '棣栭〉' } }].concat(matched) + // } levelList.value = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) } -- Gitblit v1.9.3