perf: overflow;load history

This commit is contained in:
archer
2023-05-09 22:54:39 +08:00
parent 4dc541e0a6
commit 9b683884cc
2 changed files with 5 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ const Layout = ({ children, isPcDevice }: { children: JSX.Element; isPcDevice: b
return (
<>
<Box h={'100%'} overflowY={'auto'} bg={'gray.100'}>
<Box h={'100%'} bg={'gray.100'}>
{isPc ? (
pcUnShowLayoutRoute[router.pathname] ? (
<Auth>{children}</Auth>