webhook自动填充

This commit is contained in:
caishi 2021-07-30 20:13:34 +08:00
parent 51d34a7667
commit b1ec068663
1 changed files with 3 additions and 2 deletions

View File

@ -187,6 +187,7 @@ function New({ form , match , showNotification , history }) {
<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>
<Form>
<input type="password" style={{display:"none"}} />
<Form.Item label="目标URL" colon={false}>
{getFieldDecorator("url",{
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 label="Webhook密钥" colon={false}>
{getFieldDecorator("secret",{
rules:[]
})(
<Input.Password placeholder="请输入Webhook密钥" size="large" maxLength={"50"}/>
<Input.Password placeholder="请输入Webhook密钥" autocomplete='new-password' size="large" maxLength={"50"}/>
)}
</Form.Item>
<Form.Item label="Http请求方法" colon={false}>