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