This commit is contained in:
archer
2023-07-16 13:20:25 +08:00
parent 877aab858b
commit 98a5796592
6 changed files with 51 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ const Layout = ({ children }: { children: JSX.Element }) => {
return (
<>
<Box h={'100%'} bg={'myWhite.600'}>
{isPc ? (
{isPc === true && (
<>
{pcUnShowLayoutRoute[router.pathname] ? (
<Auth>{children}</Auth>
@@ -78,7 +78,8 @@ const Layout = ({ children }: { children: JSX.Element }) => {
</>
)}
</>
) : (
)}
{isPc === false && (
<>
<Box h={'100%'} display={['block', 'none']}>
{phoneUnShowLayoutRoute[router.pathname] || isChatPage ? (