소스 검색

摄像头默认关闭

yourname 7 달 전
부모
커밋
0acbc24b37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/mobile/pages_classroom.tsx

+ 1 - 1
client/mobile/pages_classroom.tsx

@@ -149,7 +149,7 @@ export const ClassroomPage = () => {
 
   // 状态管理
   const [userId, setUserId] = useState<string>('');
-  const [isCameraOn, setIsCameraOn] = useState<boolean>(true);
+  const [isCameraOn, setIsCameraOn] = useState<boolean>(false);
   const [className, setClassName] = useState<string>('');
   const [role, setRole] = useState<Role>(Role.Student);
   const [classId, setClassId] = useState<string>('');