This commit is contained in:
yj 2024-08-15 10:37:25 +08:00
parent e4cbcb0b76
commit 522f7492b5
2 changed files with 1 additions and 6 deletions

View File

@ -264,14 +264,10 @@ const Meeting: React.FC = () => {
// 扩展操作 // 扩展操作
case 'Operation': case 'Operation':
// 1:全员退出会议 // 1:全员退出会议
// 3:踢出房间
// 4:屏幕共享 // 4:屏幕共享
switch (item.type) { switch (item.type) {
case 1: case 1:
leaveChannel() leaveChannel()
break;
case 3:
break; break;
case 4: case 4:
setIsShare((res: any) => { setIsShare((res: any) => {

View File

@ -155,7 +155,6 @@ export const onInvoke = async (str: string, data: any) => {
break; break;
case 'sendOper': case 'sendOper':
// 1:全员退出会议 // 1:全员退出会议
// 3:踢出房间
// 4:屏幕共享 // 4:屏幕共享
await connection.invoke(str, data.roomNum, data.type) await connection.invoke(str, data.roomNum, data.type)
break; break;