Merge branch 'develop'

This commit is contained in:
caishi 2021-07-30 20:13:49 +08:00
commit 4ec840f252
1 changed files with 3 additions and 2 deletions

View File

@ -187,6 +187,7 @@ function New({ form , match , showNotification , history }) {
<div> <div>
<p className="deschead mg"><span>当webhook被触发时我们将向以下URL发送通知包括已选择事件的详细信息更多信息可查阅<a className="color-blue hoverLine" target="_blank" href="https://forum.trustie.net/forums/3408/detail">webhooks指南</a></span></p> <p className="deschead mg"><span>当webhook被触发时我们将向以下URL发送通知包括已选择事件的详细信息更多信息可查阅<a className="color-blue hoverLine" target="_blank" href="https://forum.trustie.net/forums/3408/detail">webhooks指南</a></span></p>
<Form> <Form>
<input type="password" style={{display:"none"}} />
<Form.Item label="目标URL" colon={false}> <Form.Item label="目标URL" colon={false}>
{getFieldDecorator("url",{ {getFieldDecorator("url",{
rules:[ rules:[
@ -196,14 +197,14 @@ function New({ form , match , showNotification , history }) {
} }
] ]
})( })(
<Input placeholder="请输入目标URL" size="large"/> <Input placeholder="请输入目标URL" size="large" autocomplete='off'/>
)} )}
</Form.Item> </Form.Item>
<Form.Item label="Webhook密钥" colon={false}> <Form.Item label="Webhook密钥" colon={false}>
{getFieldDecorator("secret",{ {getFieldDecorator("secret",{
rules:[] rules:[]
})( })(
<Input.Password placeholder="请输入Webhook密钥" size="large" maxLength={"50"}/> <Input.Password placeholder="请输入Webhook密钥" autocomplete='new-password' size="large" maxLength={"50"}/>
)} )}
</Form.Item> </Form.Item>
<Form.Item label="Http请求方法" colon={false}> <Form.Item label="Http请求方法" colon={false}>