This commit is contained in:
parent
37c06ca19f
commit
1e3107d0e2
|
|
@ -1428,6 +1428,20 @@ const Meeting: React.FC = () => {
|
|||
} else if (state === 3) {
|
||||
meetingDisconnectedRef.current.changeModal(false)
|
||||
setIsAgoraDisconnected(false)
|
||||
} else if (state === 5) {
|
||||
confirm({
|
||||
keyboard: false,
|
||||
title: '提示',
|
||||
icon: <ExclamationCircleFilled />,
|
||||
content: `重连失败,请退出房间重试!`,
|
||||
centered: true,
|
||||
okText: '退出',
|
||||
wrapClassName: 'hideCancelText',
|
||||
cancelText: '',
|
||||
async onOk() {
|
||||
leaveChannel()
|
||||
},
|
||||
})
|
||||
}
|
||||
},
|
||||
onConnectionLost: () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue