|
|
|
@ -30,7 +30,6 @@ class RealNameCertificationModal extends Component{
|
|
|
|
|
constructor(props){
|
|
|
|
|
super(props);
|
|
|
|
|
this.state={
|
|
|
|
|
fileList:[]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -38,7 +37,6 @@ class RealNameCertificationModal extends Component{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
setVisible = (visible) => {
|
|
|
|
|
this.setState({ fileList:[] });
|
|
|
|
|
this.refs.modalWrapper.setVisible(visible)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -120,8 +118,6 @@ class RealNameCertificationModal extends Component{
|
|
|
|
|
loading: false,
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
let fileList = [...info.fileList];
|
|
|
|
|
this.setState({ fileList });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render(){
|
|
|
|
@ -294,7 +290,7 @@ class RealNameCertificationModal extends Component{
|
|
|
|
|
<span className="idPic-uploader demoImg">
|
|
|
|
|
<img src={`${certification == 1 ? authImg : jobImg}`} alt="avatar" style={{ maxHeight: '110px'}}/>
|
|
|
|
|
</span>
|
|
|
|
|
<Dragger {...uploadProps2} fileList = {this.state.fileList}>
|
|
|
|
|
<Dragger {...uploadProps2}>
|
|
|
|
|
{imageUrl2 ?
|
|
|
|
|
// <a href={imageUrl2} target="_blank" title="点击重新上传图片"></a>
|
|
|
|
|
<img src={imageUrl2} alt="avatar" style={{ maxHeight: '110px'}}/>
|
|
|
|
|