From 4ca6474cf4b90dd1b4ebe88306e361bb873b9f23 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期日, 13 四月 2025 13:19:37 +0800 Subject: [PATCH] 123 --- 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