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 ? '公积金' : '社保'}试算