Commit bfddee9d authored by 邓晓峰's avatar 邓晓峰

chore: 升级kit_global_config

parent d79815b1
Pipeline #43816 passed with stages
in 1 minute 44 seconds
...@@ -517,8 +517,8 @@ const BasicLayout = props => { ...@@ -517,8 +517,8 @@ const BasicLayout = props => {
setCollapse(!collapse); setCollapse(!collapse);
} }
const logo = props.global && props.global.get('bannerLogo')? window.globalConfig.transformDevAssetsBaseURL(props.global.get('bannerLogo')): defaultSetting.logo; const logo = props.global && props.global.get('bannerLogo')? (window.globalConfig && _.isFunction(window.globalConfig.transformDevAssetsBaseURL) && window.globalConfig.transformDevAssetsBaseURL(props.global.get('bannerLogo'))): defaultSetting.logo;
console.log("children", props.children, props);
return ( return (
<SecurityLayout loading> <SecurityLayout loading>
{ {
......
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