From 9f154c558e9bcee04287629a858961173a382662 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Fri, 13 Dec 2024 14:33:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Home/Index/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/page/Home/Index/index.tsx b/src/page/Home/Index/index.tsx index 15d9ff7..f09f016 100644 --- a/src/page/Home/Index/index.tsx +++ b/src/page/Home/Index/index.tsx @@ -42,7 +42,7 @@ const Index: React.FC = () => { const [subjectList, setSubjectList] = useState([]); const [timeData, setTimeData] = useState([]); const [isCreateRoom, setIsCreateRoom] = useState(false); - const [allowAnonymous, setAllowAnonymous] = useState(1); + const [allowAnonymous, setAllowAnonymous] = useState(true); const [baseImage, setBaseImage] = useState(''); const userInfo = JSON.parse(storage.getItem('user') as string) useEffect(() => { @@ -468,8 +468,8 @@ const Index: React.FC = () => { { setAllowAnonymous(e.target.value); }} value={allowAnonymous}> - 开启 - 关闭 + 开启 + 关闭