From 6fbba1ec2d1e2dd88190b6e13d6d7b717dc409ac Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Tue, 22 Oct 2024 21:34:23 +0800 Subject: [PATCH] fix: detail page scroll --- app/[locale]/(main)/[id]/page.tsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/app/[locale]/(main)/[id]/page.tsx b/app/[locale]/(main)/[id]/page.tsx index 8695fb34..9309b7b1 100644 --- a/app/[locale]/(main)/[id]/page.tsx +++ b/app/[locale]/(main)/[id]/page.tsx @@ -27,12 +27,18 @@ export default function Page({ params }: { params: { id: string } }) { - {currentTab === tabs[0] && ( - - )} - {currentTab === tabs[1] && ( - - )} +
+ +
+
+ +
); }