修复ql update中reset操作

This commit is contained in:
hanhh
2021-08-03 11:07:05 +08:00
parent e260dcb985
commit c51306ef27
2 changed files with 10 additions and 12 deletions
+3 -1
View File
@@ -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}