This commit is contained in:
parent
c4c280606d
commit
0b9ec70696
|
|
@ -366,6 +366,19 @@ const Meeting: React.FC = () => {
|
|||
} else {
|
||||
message.success(`管理员${item.user.isRoomManager ? '设置' : '取消'}${item.user.userName}为发言人`)
|
||||
}
|
||||
if (!item.user.isRoomManager) {
|
||||
setRoomUserList((list: any) => {
|
||||
let row = list.filter((i: any) => i.roleId === '1' || i.isRoomManager)
|
||||
setCurrentLookUserAccount((res: any) => {
|
||||
let has = row.find((x: any) => x.uid === res.uid)
|
||||
if (!has) {
|
||||
renderVideo(row[0].uid)
|
||||
}
|
||||
return res
|
||||
})
|
||||
return list
|
||||
})
|
||||
}
|
||||
})
|
||||
break;
|
||||
// 申请发言哦
|
||||
|
|
|
|||
Loading…
Reference in New Issue