This commit is contained in:
xiaojunnuo
2026-06-04 12:25:23 +08:00
parent ee50458333
commit d368f9666a
32 changed files with 211 additions and 54 deletions
@@ -113,6 +113,10 @@ input:
action: GenerateAccount
buttonText: 生成ACME账号
successMessage: ACME账号已生成,请保存授权配置
type: textarea
rows: 4
col:
span: 24
required: true
helper: 请生成ACME账号,账号一旦生成不允许修改
encrypt: true
@@ -120,10 +124,18 @@ input:
return {
component: {
disabled: ctx.compute(({form})=> !!form.access?.account)
disabled: ctx.compute(({form})=> !!form.access?.account && !form.access?.editAccount)
}
}
editAccount:
title: 修改ACME账号
component:
name: a-switch
vModel: checked
required: false
helper: 是否开启修改ACME账号,注意,开启后,会影响DNS持久验证记录
encrypt: false
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-cert/access/acme-account-access.js
@@ -106,9 +106,10 @@ input:
onSelectedChange: ctx.compute(({form})=>{
return ($event)=>{
form.dnsProviderAccessType = $event.accessType
form.dnsProviderAccess = null
}
})
}
},
}
required: true
@@ -206,10 +207,20 @@ input:
- value: letsencrypt_staging
label: Let's Encrypt测试环境(仅供测试)
icon: simple-icons:letsencrypt
mergeScript: |-
return {
component:{
onSelectedChange: ctx.compute(({form})=>{
return ($event)=>{
form.acmeAccountAccessId = null
}
})
}
}
helper: |-
Let's Encrypt:申请最简单
Google:大厂光环,兼容性好,仅首次需要翻墙获取EAB授权
ZeroSSL:需要EAB授权,无需翻墙
Google:大厂光环,兼容性好,仅首次需要翻墙获取EAB授权,无需翻墙
SSL.com:仅主域名和www免费,必须设置CAA记录
required: true
order: 0
@@ -78,14 +78,14 @@ input:
groupId:
title: API分组
component:
name: remote-auto-complete
name: remote-select
vModel: value
mode: tags
type: plugin
action: onGetGroupList
search: false
pager: false
single: false
single: true
watches:
- certDomains
- accessId
@@ -92,8 +92,8 @@ input:
mode: tags
type: plugin
action: onGetDomainList
search: false
pager: false
search: true
pager: true
single: false
watches:
- certDomains