import React, { PureComponent } from 'react'; import { List, Card } from 'antd'; import moment from 'moment'; import { connect } from 'dva'; import AvatarList from '@/components/AvatarList'; import stylesProjects from '../../List/Projects.less'; @connect(({ list }) => ({ list, })) class Center extends PureComponent { render() { const { list: { list }, } = this.props; return ( ( } > {item.title}} description={item.subDescription} />
{moment(item.updatedAt).fromNow()}
{item.members.map(member => ( ))}
)} /> ); } } export default Center;