From e9dc6135481751b08ac708b44fa31a337f9581fd Mon Sep 17 00:00:00 2001 From: Netfan Date: Tue, 31 Dec 2024 12:00:50 +0800 Subject: [PATCH] fix: breadcrumb setting not valid for `header-sidebar-nav` layout (#5275) --- .../layouts/src/widgets/preferences/preferences-drawer.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/effects/layouts/src/widgets/preferences/preferences-drawer.vue b/packages/effects/layouts/src/widgets/preferences/preferences-drawer.vue index 67729fd36..8b1a351d6 100644 --- a/packages/effects/layouts/src/widgets/preferences/preferences-drawer.vue +++ b/packages/effects/layouts/src/widgets/preferences/preferences-drawer.vue @@ -162,6 +162,7 @@ const { isDark, isFullContent, isHeaderNav, + isHeaderSidebarNav, isMixedNav, isSideMixedNav, isSideMode, @@ -344,7 +345,8 @@ async function handleReset() { v-model:breadcrumb-show-icon="breadcrumbShowIcon" v-model:breadcrumb-style-type="breadcrumbStyleType" :disabled=" - !showBreadcrumbConfig || !(isSideNav || isSideMixedNav) + !showBreadcrumbConfig || + !(isSideNav || isSideMixedNav || isHeaderSidebarNav) " />