import React, { Component } from 'react'; import DocumentTitle from 'react-document-title'; class Index extends Component { constructor(props) { super(props); this.state = { certificateType: null, }; } componentWillMount = () => { const { certificateType } = this.props.location.query; if (certificateType) { this.setState({ certificateType, }); } }; componentDidMount = () => {}; componentWillUnmount = () => {}; render() { const { certificateType } = this.state; return (
{certificateType ? (
血统证书说明 血统证书说明 血统证书说明 血统证书说明 血统证书说明
) : null}
); } } export default Index;