diff --git a/client/containers/Login/Login.js b/client/containers/Login/Login.js index f0d550a6..b753548b 100755 --- a/client/containers/Login/Login.js +++ b/client/containers/Login/Login.js @@ -88,7 +88,7 @@ class Login extends Component { return (
{/* 登录类型 (普通登录/LDAP登录) */} - {isLDAP && + {isLDAP && LDAP 普通登录 diff --git a/client/containers/Project/Interface/InterfaceList/InterfaceEditForm.js b/client/containers/Project/Interface/InterfaceList/InterfaceEditForm.js index 1b93a6ab..45044fa1 100755 --- a/client/containers/Project/Interface/InterfaceList/InterfaceEditForm.js +++ b/client/containers/Project/Interface/InterfaceList/InterfaceEditForm.js @@ -135,7 +135,8 @@ class InterfaceEditForm extends Component { jsonType: 'tpl', mockUrl: this.props.mockUrl, req_radio_type: 'req-query', - custom_field_value: '' + custom_field_value: '', + api_opened: false }, curdata) } @@ -229,7 +230,7 @@ class InterfaceEditForm extends Component { if (HTTP_METHOD[values.method].request_body !== true) { values.req_body_form = [] } - // console.log('values', values); + console.log('values', values); this.props.onSubmit(values) EditFormContext.props.changeEditStatus(false); @@ -922,35 +923,17 @@ class InterfaceEditForm extends Component {
- {/* - {getFieldDecorator('switch_notice', { valuePropName: 'checked', initialValue: false })( - - )} - - - {getFieldDecorator('message', { initialValue: "" })( -