refactor: change layout mode from mix to side
Changed layout from 'mix' to 'side' mode to optimize the layout structure to a left-right split layout. Also disabled default logo to prepare for custom logo component. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a7e3edff28
commit
769e5acad5
@ -33,9 +33,8 @@ export const LayoutConfig: RuntimeConfig['layout'] = () => {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
title: snap.session.campus?.name ?? '总后台',
|
title: snap.session.campus?.name ?? '总后台',
|
||||||
// logo: <img src={Logo} style={{ height: '30px' }} />,
|
logo: false, // 禁用默认logo,使用自定义
|
||||||
logo: <></>,
|
layout: 'side', // 从 'mix' 改为 'side'
|
||||||
layout: 'mix',
|
|
||||||
colorPrimary: '#1890ff',
|
colorPrimary: '#1890ff',
|
||||||
siderWidth: 220,
|
siderWidth: 220,
|
||||||
pure: history.location.pathname === '/login',
|
pure: history.location.pathname === '/login',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user