diff --git a/client/containers/Project/Interface/InterfaceList/Edit.js b/client/containers/Project/Interface/InterfaceList/Edit.js index d400d290..64d76ce3 100644 --- a/client/containers/Project/Interface/InterfaceList/Edit.js +++ b/client/containers/Project/Interface/InterfaceList/Edit.js @@ -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 } }