From 97308b06e9f9beef283a231da237f4ee3beb70ea Mon Sep 17 00:00:00 2001 From: lyp Date: Fri, 3 Jan 2025 16:03:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=B8=85=E9=99=A4=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/route/index/Index.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx index deb4842..959b6fe 100644 --- a/src/route/index/Index.tsx +++ b/src/route/index/Index.tsx @@ -79,7 +79,7 @@ export default function Index() { }) } // 选择的标签 - const [tagCor, setTagCor] = useState('') + const [tagCor, setTagCor] = useState(null) // 选项数组 @@ -266,6 +266,7 @@ export default function Index() { setcorrectionNumType(null) setcorrectionType(null) setcorrectionApplyStatus(null) + setTagCor(null) } const nav = useNavigate(); const [searchParams] = useSearchParams(); @@ -1335,10 +1336,10 @@ export default function Index() { /> { setTagCor(value)