fix: hide breadcrumb navigation and header title
This commit is contained in:
parent
4a388992cc
commit
153a4b9413
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user