This commit is contained in:
hailin 2025-03-12 16:04:40 +08:00
parent 1bb56b127d
commit b314531c7b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export default async function RootLayout({
<Providers attribute="class" defaultTheme="system" enableSystem> <Providers attribute="class" defaultTheme="system" enableSystem>
<div className="flex min-h-screen flex-col"> <div className="flex min-h-screen flex-col">
<main className="flex flex-1 flex-col bg-muted/0.3"> <main className="flex flex-1 flex-col bg-muted/0.3">
{showHeader && <Header />} {/* 条件渲染 Header */} <Header />
{children} {children}
{/* <Footer /> */} {/* <Footer /> */}
</main> </main>