This commit is contained in:
parent
f64d242a39
commit
39dbaa825d
|
|
@ -256,7 +256,6 @@ const Meeting: React.FC = () => {
|
|||
if (isShare) {
|
||||
const item = roomUserList.find((item: any) => item.screenShareId === String(isShare))
|
||||
setIsShareUser(item || null)
|
||||
console.log(item, isShare);
|
||||
}
|
||||
}, [isShare, roomUserList]);
|
||||
|
||||
|
|
@ -299,7 +298,9 @@ const Meeting: React.FC = () => {
|
|||
case 4:
|
||||
setIsShare((res: any) => {
|
||||
if (userInfo.screenShareId === String(res)) {
|
||||
changeStatusList({}, 1, 0)
|
||||
changeStatusList({
|
||||
title: '停止共享'
|
||||
}, 1, 0)
|
||||
}
|
||||
return res
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue