Commit 90af8a8e authored by yzl's avatar yzl

- 修复其他平台无修改密码功能

parent 6c0a598a
...@@ -395,6 +395,16 @@ const Layout = (props) => { ...@@ -395,6 +395,16 @@ const Layout = (props) => {
}; };
}, []); }, []);
if(props.global && props.global.userInfo){
if(!props.global.userInfo.site){
props.global.userInfo.site = '';
}
}
return ( return (
<SecurityLayout {...props}> <SecurityLayout {...props}>
<BasicLayout <BasicLayout
......
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