fix: breadcrumb setting not valid for header-sidebar-nav layout (#5275)

This commit is contained in:
Netfan 2024-12-31 12:00:50 +08:00 committed by GitHub
parent 3af22f7e91
commit e9dc613548
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,6 +162,7 @@ const {
isDark, isDark,
isFullContent, isFullContent,
isHeaderNav, isHeaderNav,
isHeaderSidebarNav,
isMixedNav, isMixedNav,
isSideMixedNav, isSideMixedNav,
isSideMode, isSideMode,
@ -344,7 +345,8 @@ async function handleReset() {
v-model:breadcrumb-show-icon="breadcrumbShowIcon" v-model:breadcrumb-show-icon="breadcrumbShowIcon"
v-model:breadcrumb-style-type="breadcrumbStyleType" v-model:breadcrumb-style-type="breadcrumbStyleType"
:disabled=" :disabled="
!showBreadcrumbConfig || !(isSideNav || isSideMixedNav) !showBreadcrumbConfig ||
!(isSideNav || isSideMixedNav || isHeaderSidebarNav)
" "
/> />
</Block> </Block>