From 257d8f90b8834777d8e5af582e8a288fdddbbc95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=A0=E9=9D=99=E8=90=9D=E8=8E=89?= Date: Wed, 4 Sep 2024 16:54:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(breadcrumb):=20=E4=BF=AE=E5=A4=8D=E5=A4=9A?= =?UTF-8?q?=E5=B1=82=E7=BA=A7=E8=B7=AF=E7=94=B1=E6=8C=87=E5=90=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF(#749)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/Breadcrumb.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/components/Breadcrumb.vue b/src/layouts/components/Breadcrumb.vue index 0b8bf2b..8a8ff73 100644 --- a/src/layouts/components/Breadcrumb.vue +++ b/src/layouts/components/Breadcrumb.vue @@ -27,7 +27,7 @@ const crumbs = computed(() => { breadcrumbArray.push({ path, - to: breadcrumbArray[idx - 1] ? `/${breadcrumbArray[idx - 1].path}/${path}` : `/${path}`, + to: breadcrumbArray[idx - 1] ? `${breadcrumbArray[idx - 1].to}/${path}` : `/${path}`, title: route.matched[idx]?.meta?.title ?? path, }); return breadcrumbArray;