yangjie #22
|
|
@ -549,7 +549,7 @@ const Meeting: React.FC = () => {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (item.user.uid === userInfo.uid) {
|
if (item.user.uid === userInfo.uid) {
|
||||||
if (!item.user.isRoomManager) {
|
if (item.user.isRoomManager) {
|
||||||
await agora.allLeaveChannelEx()
|
await agora.allLeaveChannelEx()
|
||||||
}
|
}
|
||||||
message.success(`管理员${item.user.isRoomManager ? '设置' : '取消'}您为发言人`)
|
message.success(`管理员${item.user.isRoomManager ? '设置' : '取消'}您为发言人`)
|
||||||
|
|
@ -1507,17 +1507,19 @@ const Meeting: React.FC = () => {
|
||||||
setFooterList(footerListTemplate)
|
setFooterList(footerListTemplate)
|
||||||
window.electron.closeChildWindow('shareScreenWindow')
|
window.electron.closeChildWindow('shareScreenWindow')
|
||||||
setKeyOpenChildWindow('shareScreenWindow', false)
|
setKeyOpenChildWindow('shareScreenWindow', false)
|
||||||
window.electron.getWindowSize().then((res: any) => {
|
if (isShare === userInfo.screenShareId) {
|
||||||
window.electron.setMainWindowSize({
|
window.electron.getWindowSize().then((res: any) => {
|
||||||
width: Math.ceil(res.width / 1.5),
|
window.electron.setMainWindowSize({
|
||||||
height: Math.ceil(res.height / 1.3),
|
width: Math.ceil(res.width / 1.5),
|
||||||
|
height: Math.ceil(res.height / 1.3),
|
||||||
|
})
|
||||||
|
window.electron.getIsMaximized().then((b: boolean) => {
|
||||||
|
if (!b) {
|
||||||
|
window.electron.setViewStatus('maximize')
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
window.electron.getIsMaximized().then((b: boolean) => {
|
}
|
||||||
if (!b) {
|
|
||||||
window.electron.setViewStatus('maximize')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
// 获取房间用户
|
// 获取房间用户
|
||||||
const getRoomUser = async (): Promise<void> => {
|
const getRoomUser = async (): Promise<void> => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue