mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
修复ql update中reset操作
This commit is contained in:
@@ -29,6 +29,9 @@ export default function (props: any) {
|
||||
history.push('/login');
|
||||
}
|
||||
vhCheck();
|
||||
|
||||
// patch custome layout title as react node [object, object]
|
||||
document.title = '控制面板';
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
@@ -109,7 +112,6 @@ export default function (props: any) {
|
||||
},
|
||||
];
|
||||
}}
|
||||
pageTitleRender={() => '控制面板'}
|
||||
{...defaultProps}
|
||||
>
|
||||
{props.children}
|
||||
|
||||
Reference in New Issue
Block a user