diff --git a/components/pages/home-page2.tsx b/components/pages/home-page2.tsx index f59b243..6e976f5 100644 --- a/components/pages/home-page2.tsx +++ b/components/pages/home-page2.tsx @@ -254,8 +254,7 @@ export function HomePage2() { return (
{/* 移动端顶部导航(抽屉式) */} - scrollToSection(key as any)} /> - {/* */} + { isMobile ? ( scrollToSection(key as any)} />) : () }