perf: 支持配置公共ZeroSSL授权

This commit is contained in:
xiaojunnuo
2024-10-25 21:47:28 +08:00
parent 7aac1460c3
commit a90d1e68ee
5 changed files with 18 additions and 10 deletions
@@ -28,9 +28,9 @@ export default {
});
}
options.value = array;
if (props.modelValue == null && options.value.length > 0) {
ctx.emit("update:modelValue", options.value[0].value);
}
// if (props.modelValue == null && options.value.length > 0) {
// ctx.emit("update:modelValue", options.value[0].value);
// }
}
onCreate();
@@ -11,9 +11,17 @@
<div class="helper">
<div>设置公共Google EAB授权给用户使用避免用户自己去翻墙获取Google EAB授权</div>
<div>
<a href="https://gitee.com/certd/certd/blob/v2/doc/google/google.md#21-%E7%9B%B4%E6%8E%A5%E8%8E%B7%E5%8F%96eab-%E6%8E%A8%E8%8D%90">
获取Google EAB授权方法
</a>
<a href="https://certd.docmirror.cn/guide/use/google/">获取Google EAB授权方法 </a>
</div>
</div>
</a-form-item>
<a-form-item label="公共ZeroSSL EAB授权" :name="['CertApply', 'sysSetting', 'input', 'zerosslCommonEabAccessId']">
<access-selector v-model:model-value="formState.CertApply.sysSetting.input.zerosslCommonEabAccessId" type="eab" from="sys"></access-selector>
<div class="helper">
<div>设置公共ZeroSSL EAB授权给用户使用避免用户自己去翻墙获取Zero EAB授权注意ZeroSSL免费证书有数量限制</div>
<div>
<a href="https://app.zerossl.com/developer">zerossl开发者中心获取EAB </a>
</div>
</div>
</a-form-item>
@@ -78,7 +78,7 @@ export class SshAccess extends BaseAccess implements ConnectConfig {
@AccessInput({
title: '是否Windows',
helper: '如果是Windows主机,请勾选此项\n并且需要windows[安装OpenSSH](https://gitee.com/certd/certd/blob/v2/doc/host/host.md)',
helper: '如果是Windows主机,请勾选此项\n并且需要windows[安装OpenSSH](https://certd.docmirror.cn/guide/use/host/windows.html)',
component: {
name: 'a-switch',
vModel: 'checked',