Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev

This commit is contained in:
wenbo.dong 2017-08-25 16:00:44 +08:00
commit 21478c216f

View File

@ -33,8 +33,8 @@ class InterfaceEdit extends Component {
const { curdata, currProject } = this.props;
this.state = {
mockUrl: location.protocol + '//' + location.hostname + (location.port !== "" ? ":" + location.port : "") + `/mock/${currProject._id}${currProject.basepath}${curdata.path}`,
curdata: {},
status: 0
curdata: this.props.curdata,
status: 1
}
}