From 6598666db01a4340417eeb99aadc452a59d97c8f Mon Sep 17 00:00:00 2001
From: yj <1336058017@qq.com>
Date: Tue, 20 Aug 2024 15:33:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/StupWizard/index.tsx | 6 ++++--
src/page/Meeting/index.tsx | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
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个开启摄像头')
}
}