import React, { Component } from 'react'; import { Modal} from 'antd'; import axios from 'axios'; import shimingrenzheng from '../../../src/images/cert/shimingrenzheng.png'; import zhiyerenzheng from '../../../src/images/cert/zhiyerenzheng.png'; import './certfed.css'; //认证职业 class Certifiedprofessional extends Component { constructor(props) { super(props); this.state={ // occupation:3, // mydisplay:false, } } componentDidMount() { // console.log("加入金品课堂"); // console.log(this.props); } modalCancel=()=>{ this.props.ModalCancelsy(); }; setDownload=()=>{ window.location.href="/account/certification" } render() { // console.log("加入金品课堂2"); // console.log(this.props); let{occupation} =this.props; return(

请在完成条件后重试

{ occupation=== 3?
未实名认证
未职业认证
:occupation=== 2?
未职业认证
:
未实名认证
}
this.modalCancel()}>取消 this.setDownload()}>立即认证
) } } export default Certifiedprofessional;