diff --git a/client/containers/AddInterface/ResParams/ResParams.js b/client/containers/AddInterface/ResParams/ResParams.js index a50e21ff..2b601181 100644 --- a/client/containers/AddInterface/ResParams/ResParams.js +++ b/client/containers/AddInterface/ResParams/ResParams.js @@ -28,6 +28,7 @@ class ResParams extends Component { constructor(props) { super(props) + console.log(props) } // initResParams () { diff --git a/client/reducer/addInterface/addInterface.js b/client/reducer/addInterface/addInterface.js index 28562eb0..444a6b98 100644 --- a/client/reducer/addInterface/addInterface.js +++ b/client/reducer/addInterface/addInterface.js @@ -15,7 +15,7 @@ import { const initialState = { interfaceName: '', url: '', - method: '', + method: 'GET', // 默认请求头部有一条数据 seqGroup: [ {