diff --git a/src/components/StupWizard/index.tsx b/src/components/StupWizard/index.tsx index 1468f5d..f71bd7a 100644 --- a/src/components/StupWizard/index.tsx +++ b/src/components/StupWizard/index.tsx @@ -350,7 +350,7 @@ const AudioComponents = () => { }) }} disabled={!audioDeviceManager.ecordingItem} /> -
+ {/*
{ setting.autoEcordingVolume = e.target.checked; storage.setItem('setting', JSON.stringify(setting)) @@ -359,7 +359,7 @@ const AudioComponents = () => { autoEcordingVolume: e.target.checked }) }} checked={audioDeviceManager.autoEcordingVolume}>自动调整麦克风音量 -
+
*/}
@@ -442,6 +442,7 @@ const RecordingComponents = () => { }, []) const handleCustomStorageChange = (e: any): void => { if (e.key === 'setting') { + const setting = JSON.parse(storage.getItem('setting') as string) setFilePath(setting.recordingFilesPath) } }; @@ -514,6 +515,7 @@ const FileComponents = () => { }, []) const handleCustomStorageChange = (e: any): void => { if (e.key === 'setting') { + const setting = JSON.parse(storage.getItem('setting') as string) setFilePath(setting.shareFilesPath) } }; diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index 51cc901..b7ef504 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -879,8 +879,8 @@ const Meeting: React.FC = () => { return } if (enableCamera) { - const enableMicrLenght = roomUserList.filter((item: any) => item.enableCamera).length - if (enableMicrLenght >= 20) { + const enableCameraLenght = roomUserList.filter((item: any) => item.enableCamera).length + if (enableCameraLenght >= 20) { return message.error('房间内最多20个开启摄像头') } }