import React, { PureComponent } from "react"; import { connect } from "dva"; // import { routerRedux, Link } from 'dva/router'; import { Form, Button, Steps, Icon } from "antd"; // import { NavLink } from "dva/router"; import "./PersonalRegistrationResult.less"; import TwoDimensionCode from "../../assets/images/two_dimension_code.png"; import IconS from "../../components/IconS"; const { Step } = Steps; @connect(state => ({ register: state.register })) @Form.create() export default class PersonalRegistrationResult extends PureComponent { constructor(props, context) { super(props, context); this.state = { // count: 0, }; } /******************************生命周期******************************/ componentDidMount = () => { }; /******************************ajax请求******************************/ /******************************相关事件******************************/ /******************************render******************************/ renderRegister = () => { return (
{/**/} 百保盾
改变工作 改变你
this.props.history.push("LogOn")} > 登录{" "}

个人注册

注册成功

恭喜您已注册成功
账号和密码已发在联系手机上了,您现在可以开始扫码下载app体验啦。

); }; renderPersonalLogin = () => { return (
{/**/} 百保盾
改变工作 改变你
this.props.history.push("LogOn")} > 登录{" "}

您当前暂无企业关系,不能享受企业服务

您现在可以扫二维码下载百保盾app体验个人服务

{/* */}
); }; render() { // const title =
提交成功
; // const actions = ( //
// // //
// ); console.log(this.props.location.search.indexOf("download") !== -1); if (this.props.location.search.indexOf("download") !== -1) { return this.renderPersonalLogin(); } else { return this.renderRegister(); } } }