小窗添加按钮

This commit is contained in:
yj 2024-12-13 13:32:36 +08:00
parent 7b7049681a
commit c557fed280
1 changed files with 12 additions and 0 deletions

View File

@ -2344,6 +2344,18 @@ const Meeting: React.FC = () => {
getRoomKickout(state.channelId, item.uid, item.userName) getRoomKickout(state.channelId, item.uid, item.userName)
}} }}
></Button> : null} ></Button> : null}
{item.uid !== user.uid ? <Button
type="primary"
className='m-ant-btn'
style={{ width: '100%', marginTop: '10px' }}
size={'small'}
onClick={() => {
userNameRef.current.changeModal({
userName: item.userName,
uid: item.uid
})
}}
></Button> : null}
</div> </div>
}> }>
<div className={styles.meetingContentOperation}> <div className={styles.meetingContentOperation}>