Compare commits
No commits in common. "26b8f2fc93359ca2f53e6f718b64faf41f695073" and "178045f0da66ccea2303cffb0fbd588c916ad55f" have entirely different histories.
26b8f2fc93
...
178045f0da
@ -152,21 +152,16 @@ export const LayoutConfig: RuntimeConfig['layout'] = () => {
|
|||||||
title: '',
|
title: '',
|
||||||
// 首页 logo
|
// 首页 logo
|
||||||
logo: (
|
logo: (
|
||||||
<Space
|
<div style={{ width: 136, display: 'flex', justifyContent: 'center' }}>
|
||||||
style={{ minWidth: 136, display: 'flex', justifyContent: 'center' }}
|
|
||||||
>
|
|
||||||
<img
|
<img
|
||||||
src={
|
src={
|
||||||
snap.session?.company_configs?.config_value?.admin_logo
|
snap.session?.company_configs?.config_value?.admin_logo
|
||||||
? snap.session?.company_configs?.config_value?.admin_logo[0]?.url
|
? snap.session?.company_configs?.config_value?.admin_logo[0]?.url
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
style={{ minWidth: '42px', maxWidth: 100, height: '42px' }}
|
style={{ width: 'auto', height: '42px' }}
|
||||||
/>
|
/>
|
||||||
<div style={{ fontSize: 13, color: '#000' }}>
|
|
||||||
{snap.session?.company?.name || ''}
|
|
||||||
</div>
|
</div>
|
||||||
</Space>
|
|
||||||
),
|
),
|
||||||
layout: 'mix',
|
layout: 'mix',
|
||||||
siderWidth: 180,
|
siderWidth: 180,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user