From 5ea4f46de7ae403a7a16e9488dc1d9c7523d019a Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 5 Feb 2026 11:39:06 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=20eab=E4=BB=8E=E6=9B=B4=E5=A4=9A?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=B8=AD=E6=8C=AA=E5=88=B0=E5=A4=96=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/plugins/plugin-cert/src/index.ts | 2 +- .../src/components/plugins/common/domain-selector.vue | 1 + .../src/plugins/plugin-cert/plugin/cert-plugin/apply.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/plugins/plugin-cert/src/index.ts b/packages/plugins/plugin-cert/src/index.ts index 4f136a13d..63eccd8df 100644 --- a/packages/plugins/plugin-cert/src/index.ts +++ b/packages/plugins/plugin-cert/src/index.ts @@ -1 +1 @@ -export * from "@certd/plugin-lib"; \ No newline at end of file +export * from "@certd/plugin-lib"; diff --git a/packages/ui/certd-client/src/components/plugins/common/domain-selector.vue b/packages/ui/certd-client/src/components/plugins/common/domain-selector.vue index 6cdc9a665..589156f41 100644 --- a/packages/ui/certd-client/src/components/plugins/common/domain-selector.vue +++ b/packages/ui/certd-client/src/components/plugins/common/domain-selector.vue @@ -154,6 +154,7 @@ const getOptions = async () => { optionsRef.value = options; if (hasOptions.value == null) { + //初始设置一次 if (options.length > 0) { hasOptions.value = true; } else { diff --git a/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/apply.ts b/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/apply.ts index 562d3bb1e..c4e38e1f7 100644 --- a/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/apply.ts +++ b/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/apply.ts @@ -264,7 +264,7 @@ export class CertApplyPlugin extends CertApplyBasePlugin { name: "access-selector", type: "eab", }, - maybeNeed: true, + maybeNeed: false, required: false, helper: "需要提供EAB授权" + @@ -291,7 +291,7 @@ export class CertApplyPlugin extends CertApplyBasePlugin { name: "access-selector", type: "google", }, - maybeNeed: true, + maybeNeed: false, required: false, helper: "google服务账号授权与EAB授权选填其中一个,[服务账号授权获取方法](https://certd.docmirror.cn/guide/use/google/)\n服务账号授权需要配置代理或者服务器本身在海外", mergeScript: `