main
鲁誉程 5 months ago
parent af1fd4e98a
commit 00f464dc46

@ -465,11 +465,11 @@ export default class RoomClient
this._dataConsumers.delete(dataConsumer.id); this._dataConsumers.delete(dataConsumer.id);
store.dispatch(requestActions.notify( // store.dispatch(requestActions.notify(
{ // {
type : 'error', // type : 'error',
text : 'DataConsumer 已关闭' // text : `${peerId} 退出房间`
})); // }));
}); });
dataConsumer.on('error', (error) => dataConsumer.on('error', (error) =>
@ -1925,7 +1925,7 @@ export default class RoomClient
store.dispatch(requestActions.notify( store.dispatch(requestActions.notify(
{ {
type : 'error', type : 'error',
text : 'Bot DataProducer 已关闭' text : 'Bot DataProducer closed'
})); }));
}); });

@ -35,7 +35,9 @@ class Room extends React.Component
<Appear duration={300}> <Appear duration={300}>
<div data-component='Room'> <div data-component='Room'>
<div className='crumbs'> <div className='crumbs'>
<span className='goback' onClick={() => {history.push('/counselling/expertList')}}> <span className='goback' onClick={() => {
}}>
值班专家<span style={{margin: '0 4px'}}>{`>`}</span> 值班专家<span style={{margin: '0 4px'}}>{`>`}</span>
</span> </span>
<span style={{color: '#5F6368'}}>在线聊天</span> <span style={{color: '#5F6368'}}>在线聊天</span>

Loading…
Cancel
Save