mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-09 05:00:30 +08:00
opti: interface edit desc input 改为 textarea
This commit is contained in:
parent
fe0291e14e
commit
62826d419e
@ -282,7 +282,7 @@ class InterfaceEditForm extends Component {
|
||||
{getFieldDecorator('req_query[' + index + '].desc', {
|
||||
initialValue: data.desc
|
||||
})(
|
||||
<Input placeholder="备注" />
|
||||
<Input.TextArea autosize={true} placeholder="备注" />
|
||||
)}
|
||||
</Col>
|
||||
<Col span="1" >
|
||||
@ -309,14 +309,14 @@ class InterfaceEditForm extends Component {
|
||||
{getFieldDecorator('req_headers[' + index + '].value', {
|
||||
initialValue: data.value
|
||||
})(
|
||||
<Input placeholder="参数值" />
|
||||
<Input placeholder="参数值" />
|
||||
)}
|
||||
</Col>
|
||||
<Col span="10" >
|
||||
{getFieldDecorator('req_headers[' + index + '].desc', {
|
||||
initialValue: data.desc
|
||||
})(
|
||||
<Input placeholder="备注" />
|
||||
<Input.TextArea autosize={true} placeholder="备注" />
|
||||
)}
|
||||
</Col>
|
||||
<Col span="2" >
|
||||
@ -359,7 +359,7 @@ class InterfaceEditForm extends Component {
|
||||
{getFieldDecorator('req_body_form[' + index + '].desc', {
|
||||
initialValue: data.desc
|
||||
})(
|
||||
<Input placeholder="备注" />
|
||||
<Input.TextArea autosize={true} placeholder="备注" />
|
||||
)}
|
||||
</Col>
|
||||
<Col span="1" >
|
||||
@ -381,7 +381,7 @@ class InterfaceEditForm extends Component {
|
||||
{getFieldDecorator('req_params[' + index + '].desc', {
|
||||
initialValue: data.desc
|
||||
})(
|
||||
<Input placeholder="备注" />
|
||||
<Input.TextArea autosize={true} placeholder="备注" />
|
||||
)}
|
||||
</Col>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user