From 153a4b941335f637825ee8b5ac5bf50d934231ba Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 30 Mar 2026 16:55:42 +0800 Subject: [PATCH] fix: hide breadcrumb navigation and header title --- src/common/libs/umi/layoutConfig.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/libs/umi/layoutConfig.tsx b/src/common/libs/umi/layoutConfig.tsx index 35db203..fca8307 100644 --- a/src/common/libs/umi/layoutConfig.tsx +++ b/src/common/libs/umi/layoutConfig.tsx @@ -43,6 +43,10 @@ export const LayoutConfig: RuntimeConfig['layout'] = () => { navTheme: 'light', // 确保header显示 header: true, + // 隐藏面包屑导航 + breadcrumb: false, + // 隐藏header的默认内容 + headerTitleRender: false, // 自定义Header渲染 - 使用UmiJS自带header并添加用户信息 headerRender: (props, defaultDom) => {