mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
增加登录日志
This commit is contained in:
1 parent
0cbfca979e
commit
eb196bd40d
11 files changed
+233
-12
No files matched your search
@@ -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