yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit beacd92df1 - Show all commits

View File

@ -20,9 +20,9 @@ const JoinSetting = forwardRef((_props: any, ref: any) => {
await agora.init() await agora.init()
} }
setJoinRoomSettingForm((res: any) => { setJoinRoomSettingForm((res: any) => {
res.forEach((item: any, index: number) => { res.forEach(async (item: any, index: number) => {
if (index === 0 && role.ID.includes(user.roleId)) { if (index === 0 && role.ID.includes(userInfo.roleId)) {
agora.getAudioMediaList().then(res => { await agora.getAudioMediaList().then(res => {
item.active = res.ecordingList.length ? true : false item.active = res.ecordingList.length ? true : false
}) })
} else { } else {