From c956fae54656fef130571bde4ba89415a4bce369 Mon Sep 17 00:00:00 2001 From: Zylan Date: Wed, 19 Mar 2025 17:12:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E5=8E=86=E7=BB=86=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/calculator.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/components/calculator.tsx b/components/calculator.tsx index 94702a6..f8e7be5 100644 --- a/components/calculator.tsx +++ b/components/calculator.tsx @@ -694,8 +694,17 @@ const SalaryCalculator = () => { disabled={formData.degreeType === 'belowBachelor'} > - - + {formData.degreeType === 'bachelor' ? ( + <> + + + + ) : ( + <> + + + + )} @@ -710,8 +719,8 @@ const SalaryCalculator = () => { className="block w-full rounded-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent text-gray-900 dark:text-white" > - - + + )}