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':
// 1:全员退出会议
// 3:踢出房间
// 4:屏幕共享
switch (item.type) {
case 1:
leaveChannel()
break;
case 3:
break;
case 4:
setIsShare((res: any) => {
@ -997,7 +993,7 @@ const Meeting: React.FC = () => {
</div>
</Popover>
<div className={styles.meetingContentSwiperCardBorder}>
{item.enableMicr ? <div style={{ width: `${item.volumeNumber}%` }}></div> : null}
{item.enableMicr ? <div style={{ width: `${item.volumeNumber}%` }}></div> : null}
</div>
</div>
}

View File

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