隐藏聊天界面

master
pan 4 years ago
parent e78a8c7de0
commit f2a0e523c0
  1. 8
      src/my/MyFriend.tsx

@ -139,8 +139,8 @@ export class MyFriend extends React.Component<
return (
<Container>
<Row>
<Col xs={4}>
<Row className="d-flex justify-content-center bg-light">
<div>
<ListGroup className="overflow-auto bg-light friend-list">
<ListGroup.Item variant="primary"></ListGroup.Item>
<ListGroup.Item>
@ -191,9 +191,9 @@ export class MyFriend extends React.Component<
</ListGroup.Item>):<ListGroup.Item></ListGroup.Item>:null}
</ListGroup>
</Col>
</div>
<Col xs={8}>
<Col className="d-none" xs={8}>
<Container className="bg-light chat-history overflow-auto">
{this.state.chatList.map((chat:Chat,index:number)=>
this.props.user===chat.userId?

Loading…
Cancel
Save