fix: fix body problem on label and placeholder

This commit is contained in:
moonrailgun 2023-11-10 09:44:30 +08:00
parent 64f2a27a92
commit 0b508a40b1

View File

@ -56,8 +56,10 @@ const MonitorHttp: React.FC = React.memo(() => {
</Select.Option> </Select.Option>
</Select> </Select>
</Form.Item> </Form.Item>
<Form.Item label="Content-Type" name={['payload', 'bodyValue']}> <Form.Item label="Body" name={['payload', 'bodyValue']}>
<Input.TextArea placeholder='For example:\n{ "key": "value" }' /> <Input.TextArea
placeholder='For example:&#13;&#10;{ "key": "value" }'
/>
</Form.Item> </Form.Item>
</> </>
); );