pull/442/head
vapao 2021-12-24 09:58:55 +08:00
parent eb0ab71017
commit a4e1059e0c
1 changed files with 4 additions and 1 deletions

View File

@ -103,7 +103,10 @@ export default observer(function AutoDeploy() {
</Form.Item>
)}
{key ? (
<Form.Item label="Secret Token" tooltip="调用该Webhook接口的访问凭据在Gitee中为WebHook密码Gogs中为密钥文本。" extra="点击复制">
<Form.Item
label="Secret Token"
tooltip="调用该Webhook接口的访问凭据在Gitee中为WebHook密码Gogs中为密钥文本。"
extra={`点击复制老版本gitlab等无该项设置的可以在上述Webhook URL后边附加 &token=${key}`}>
<div className={styles.webhook} onClick={() => copyToClipBoard(key)}>{key}</div>
</Form.Item>
) : (