/** * 朋友列表 */ import React, { Component } from 'react'; import { connect } from 'dva'; import tim from '../../../utils/imInitialize'; import './im.less'; export default class ConversationList extends Component { constructor(props) { super(props); this.state = { visible: props.visible }; } componentDidMount() { this.getFriendList(); } componentWillReceiveProps(nextProps) { this.setState({ visible: nextProps.visible }); } getFriendList() { // tim.getFriendList().then(({ data: friendList }) => { // // this.$store.commit('upadteFriendList', friendList) // }); } render() { return (
{/*
*/} {/*
*/}
暂无好友
); } }