import React, { Fragment } from 'react'; import { connect } from 'dva'; import { Button, Row, Col } from 'antd'; import Result from '../Result'; import styles from './index.less'; import { IStateType } from '../../model'; import { Dispatch } from 'redux'; interface Step3Props { data?: IStateType['step']; dispatch?: Dispatch; } @connect( ({ BLOCK_NAME_CAMEL_CASE, }: { BLOCK_NAME_CAMEL_CASE: IStateType; loading: { effects: { [key: string]: boolean }; }; }) => ({ data: BLOCK_NAME_CAMEL_CASE.step, }) ) class Step3 extends React.Component { render() { const { data, dispatch } = this.props; if (!data) { return; } const onFinish = () => { dispatch && dispatch({ type: 'BLOCK_NAME_CAMEL_CASE/saveCurrentStep', payload: 'info', }); }; const information = (
付款账户: {data.payAccount} 收款账户: {data.receiverAccount} 收款人姓名: {data.receiverName} 转账金额: {data.amount}
); const actions = ( ); return ( ); } } export default Step3;