import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Card, Button, Icon, List } from 'antd'; import Ellipsis from '@/components/Ellipsis'; import PageHeaderWrapper from '@/components/PageHeaderWrapper'; import styles from './CardList.less'; export default @connect(({ list, loading }) => ({ list, loading: loading.models.list, })) class CardList extends PureComponent { componentDidMount() { const { dispatch } = this.props; dispatch({ type: 'list/fetch', payload: { count: 8, }, }); } render() { const { list: { list }, loading, } = this.props; const content = (
段落示意:蚂蚁金服务设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态, 提供跨越设计与开发的体验解决方案。