import React from 'react'; import { Icon, Modal, message, Spin, Button,Tabs } from 'antd'; import './userList.less'; import OrgCertify from './orgCertify.jsx'; const OrgDesc = React.createClass({ getInitialState() { return { visible: false, loading: false }; }, showModal() { this.setState({ visible: true, }); }, handleCancel(e) { this.setState({ visible: false, }); this.props.closeDesc(false); }, componentWillReceiveProps(nextProps) { this.state.visible = nextProps.showDesc; }, render() { if (this.props.data) { return (
Content of Tab Pane 2 Content of Tab Pane 3
); } else { return
} }, }); export default OrgDesc;