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}> - 开启 - 关闭 + 开启 + 关闭