Commit d8596d5e by 潘际乾

增加返回按钮

parent 69d6ecee
import React,{Component} from 'react'
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import {Table,Steps,Row,Col,Input} from 'antd'
import {Table,Steps,Row,Col,Input,Affix,Button} from 'antd'
import { updateTreeValue,updateRcvBic,initSwiftMessageTree ,updateSwiftMessage} from '../store/modules/swift/swift_action';
......@@ -171,7 +171,18 @@ export class LeadPage extends Component
<Col span={18}>
<Table columns={this.columns} dataSource={this.state.fil?mty.filter(item=>item.mty.indexOf('mt'+this.state.fil)==0):mty} />
</Col>
<Col span={3}/>
<Col span={3}>
<Affix offsetTop={100}>
<div style={{textAlign:'right'}}>
<Button type="primary" title="Return" style={{marginRight:'1em',width:'8em'}} >
<a onClick={ () => {
this.props.history.push(`entry/${this.props.params.mctid ? this.props.params.mctid : ''}`)
} }
>Go Back</a>
</Button>
</div>
</Affix>
</Col>
</Row>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment