全员结束

This commit is contained in:
yj 2024-07-16 15:11:55 +08:00
parent 1ef7b31bed
commit 3cbdaf58ca
2 changed files with 6 additions and 3 deletions

View File

@ -174,8 +174,12 @@ const Meeting: React.FC = () => {
getRoomUser()
break;
case 'Operation':
console.log('嘻嘻', item);
leaveChannel()
// 1: 全员退出会议
switch (item.type) {
case 1:
leaveChannel()
break;
}
break;
}
})

View File

@ -50,7 +50,6 @@ export const onInvoke = async (str: string, data: any) => {
break;
case 'sendOper':
// 1:全员退出会议
console.log(data);
await connection.invoke(str, data.roomNum, data.type)
break;
}