Commit 3cb26c3a authored by 崔佳豪's avatar 崔佳豪

perf: 显示系统配置logo

parent 620aa5f9
Pipeline #53420 waiting for manual action with stages
......@@ -309,6 +309,12 @@ const Layout = (props) => {
store.set('updateMenuIndex', index);
};
const logo =
props.global && _.isFunction(props.global.get) && props.global.get('bannerLogo')
? props.global &&
_.isFunction(props.global.transformDevAssetsBaseURL) &&
props.global.transformDevAssetsBaseURL(props.global.get('bannerLogo'))
: defaultSetting.logo;
return (
<SecurityLayout {...props}>
......@@ -327,7 +333,7 @@ const Layout = (props) => {
loading: menuLoading
// onLoadingChange: (loading) => setMenuLoading(loading)
}}
logo={logo}
topMenuActiveKey={props.currentMenuIndex}
rightContentRender={() => <RightContent/>}
onPageChange={() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment