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)