This commit is contained in:
yj 2024-08-09 14:12:21 +08:00
parent f64d242a39
commit 39dbaa825d
1 changed files with 3 additions and 2 deletions

View File

@ -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
}) })