mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
增加登录日志
This commit is contained in:
@@ -127,7 +127,12 @@ export default function (props: any) {
|
||||
{...defaultProps}
|
||||
>
|
||||
{React.Children.map(props.children, (child) => {
|
||||
return React.cloneElement(child, { ...ctx, ...theme, user });
|
||||
return React.cloneElement(child, {
|
||||
...ctx,
|
||||
...theme,
|
||||
user,
|
||||
reloadUser: getUser,
|
||||
});
|
||||
})}
|
||||
</ProLayout>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user