From 22424489d25a62c93d6ccfd9c10ff38753bfe880 Mon Sep 17 00:00:00 2001 From: selfrelease Date: Mon, 27 Jul 2026 19:44:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=93=E9=A1=B9=E9=99=84=E5=8A=A0?= =?UTF-8?q?=E6=89=A3=E9=99=A4Tab=E9=9A=90=E8=97=8F=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=92=8C=E8=AF=95=E7=AE=97=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/SocialInsurance.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/SocialInsurance.tsx b/frontend/src/pages/SocialInsurance.tsx index 1d06d35..2ec33e3 100644 --- a/frontend/src/pages/SocialInsurance.tsx +++ b/frontend/src/pages/SocialInsurance.tsx @@ -334,7 +334,7 @@ export default function SocialInsurance() { {t === 'monthly' ? '月度办理' : t === 'social' ? '社保' : t === 'housing' ? '公积金' : '专项附加扣除'} ))} - {tab !== 'monthly' && ( + {(tab === 'social' || tab === 'housing') && (
{/* ========== 社保 / 公积金 Tab ========== */} - {tab !== 'monthly' && ( + {(tab === 'social' || tab === 'housing') && ( (isHousing ? housingLoading : configLoading) ? (
加载中...
) : activeConfig ? ( @@ -663,7 +663,7 @@ export default function SocialInsurance() { )} {/* 试算工具 */} - {tab !== 'monthly' && ( + {(tab === 'social' || tab === 'housing') && (

{isHousing ? '公积金' : '社保'}试算