From 7ae75aaf2ebc5a6235387b5b15e234cb3f75d70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E9=87=8E?= Date: Mon, 1 Dec 2025 21:56:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=BA=E6=95=B0NAN?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NumberInterval/NumberInterval.tsx | 2 +- .../publishBall/components/SelectStadium/StadiumDetail.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NumberInterval/NumberInterval.tsx b/src/components/NumberInterval/NumberInterval.tsx index 80cbbad..0678ca2 100644 --- a/src/components/NumberInterval/NumberInterval.tsx +++ b/src/components/NumberInterval/NumberInterval.tsx @@ -31,7 +31,7 @@ const NumberInterval: React.FC = ({ }, [value]); const handleChange = (value: { min: number | string, max: number | string, organizer_joined: boolean }) => { - const toNumber = (v: number | string): number => typeof v === 'string' ? Number(v) : v + const toNumber = (v: number | string): number => v ? (typeof v === 'string' ? Number(v) : v) : 1 const { min, max, organizer_joined } = value; onChange({ min: toNumber(min), max: toNumber(max), organizer_joined }) } diff --git a/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.scss b/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.scss index 22eaede..8bba873 100644 --- a/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.scss +++ b/src/publish_pages/publishBall/components/SelectStadium/StadiumDetail.scss @@ -94,7 +94,7 @@ font-size: 12px; color: rgba(0, 0, 0, 0.90); z-index: 2; - font-weight: normal; + font-weight: 500; } } }