This commit is contained in:
parent
2c11b8e726
commit
621ef06aba
|
|
@ -1591,7 +1591,7 @@ const Meeting: React.FC = () => {
|
|||
});
|
||||
const peoPleLength = res.filter((item: any) => (role.ID.includes(item.roleId) || item.isRoomManager) && item.isRoom).length
|
||||
setIsAdmin(peoPleLength)
|
||||
if (peoPleLength >= 6) {
|
||||
if (peoPleLength > 6) {
|
||||
setMeetingMode('StandardMode')
|
||||
}
|
||||
return res
|
||||
|
|
@ -2619,6 +2619,9 @@ const Meeting: React.FC = () => {
|
|||
}
|
||||
// 设置模式
|
||||
const setSyncView = (mode: string) => {
|
||||
if (isShare && mode === 'FreedomMode') {
|
||||
message.error('共享中,无法切换模式')
|
||||
} else {
|
||||
confirm({
|
||||
title: '提示',
|
||||
icon: <ExclamationCircleFilled />,
|
||||
|
|
@ -2643,6 +2646,7 @@ const Meeting: React.FC = () => {
|
|||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
// 判断是否出现滚动条
|
||||
const hasScrollbar = () => {
|
||||
let element = document.getElementById('videoView') as HTMLDivElement
|
||||
|
|
|
|||
Loading…
Reference in New Issue