This commit is contained in:
yj 2025-01-21 15:05:54 +08:00
parent dae9b35802
commit c2b36c0b3f
1 changed files with 2 additions and 2 deletions

View File

@ -2484,7 +2484,7 @@ const Meeting: React.FC = () => {
} }
}} }}
onContextMenu={(e: any) => { onContextMenu={(e: any) => {
if (role.ID.includes(contextMenu.roleId)) { if (role.ID.includes(userInfo.roleId)) {
setContextMenuStyle({ setContextMenuStyle({
top: e.clientY, top: e.clientY,
left: e.clientX, left: e.clientX,
@ -2761,7 +2761,7 @@ const Meeting: React.FC = () => {
onClick={() => { onClick={() => {
getRoomKickout(state.channelId, item.uid, item.userName) getRoomKickout(state.channelId, item.uid, item.userName)
}} }}
></Button> ></Button>
</div> </div>
}> }>
<EllipsisOutlined style={{ color: '#fff', fontSize: '20px' }} /> <EllipsisOutlined style={{ color: '#fff', fontSize: '20px' }} />