This commit is contained in:
yj 2024-08-09 14:53:22 +08:00
parent 3fa81d97ea
commit a323fa3be9
1 changed files with 2 additions and 4 deletions

View File

@ -1122,14 +1122,12 @@ const Meeting: React.FC = () => {
description={`用户${isShareUser?.userName}正在屏幕,是否继续共享?`} description={`用户${isShareUser?.userName}正在屏幕,是否继续共享?`}
open={isSharePopConfirm} open={isSharePopConfirm}
onConfirm={async () => { onConfirm={async () => {
setIsSharePopConfirm(false)
await onInvoke('sendOper', { await onInvoke('sendOper', {
roomNum: state.channelId, roomNum: state.channelId,
type: 4, type: 4,
}) })
setIsSharePopConfirm(false) clickSharedScreen()
setTimeout(() => {
clickSharedScreen()
}, 500)
}} }}
onCancel={() => { onCancel={() => {
setIsSharePopConfirm(false) setIsSharePopConfirm(false)