import './Activity.scss'; import React, { PureComponent as Component } from 'react'; import TimeTree from '../../../components/TimeLine/TimeLine'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { Button } from 'antd'; @connect(state => { return { uid: state.user.uid + '', curdata: state.inter.curdata, currProject: state.project.currProject }; }) class Activity extends Component { constructor(props) { super(props); } static propTypes = { uid: PropTypes.string, getMockUrl: PropTypes.func, match: PropTypes.object, curdata: PropTypes.object, currProject: PropTypes.object }; render() { let { currProject } = this.props; return (
高效、易用、可部署的API管理平台
{location.protocol + '//' + location.hostname + (location.port !== '' ? ':' + location.port : '') + `/mock/${currProject._id}${currProject.basepath}/yourPath`}