From dfe7fafc137cf9862382dc52ee9333e828e8f3a9 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Thu, 17 Oct 2024 09:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/JoinSetting/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/JoinSetting/index.tsx b/src/components/JoinSetting/index.tsx index fe0cffb..a892189 100644 --- a/src/components/JoinSetting/index.tsx +++ b/src/components/JoinSetting/index.tsx @@ -21,7 +21,7 @@ const JoinSetting = forwardRef((_props: any, ref: any) => { } setJoinRoomSettingForm((res: any) => { res.forEach((item: any, index: number) => { - if (index === 0) { + if (index === 0 && role.ID.includes(user.roleId)) { agora.getAudioMediaList().then(res => { item.active = res.ecordingList.length ? true : false })