From ec2bafc3cd64a1fc1f17fb95a695b863c8402232 Mon Sep 17 00:00:00 2001 From: Kirk Lin Date: Mon, 8 Jan 2024 18:20:12 +0800 Subject: [PATCH] fix: repair breadcrumb icon display abnormality --- apps/admin/src/layouts/header/components/Breadcrumb.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/admin/src/layouts/header/components/Breadcrumb.vue b/apps/admin/src/layouts/header/components/Breadcrumb.vue index b574bea5..1d3c5646 100644 --- a/apps/admin/src/layouts/header/components/Breadcrumb.vue +++ b/apps/admin/src/layouts/header/components/Breadcrumb.vue @@ -33,7 +33,7 @@ watchEffect(() => { key: isNil(child?.redirect) ? child.path : child?.redirect, children: undefined, label: localize(child.name), - icon: () => renderIcon(child.icon), + icon: renderIcon(child.icon), })), })); } @@ -51,19 +51,19 @@ function selectDropdown(key) {