perf: eab从更多参数中挪到外面

This commit is contained in:
xiaojunnuo
2026-02-05 11:39:06 +08:00
parent 1d8d5251ae
commit 5ea4f46de7
3 changed files with 4 additions and 3 deletions

View File

@@ -1 +1 @@
export * from "@certd/plugin-lib";
export * from "@certd/plugin-lib";

View File

@@ -154,6 +154,7 @@ const getOptions = async () => {
optionsRef.value = options;
if (hasOptions.value == null) {
//初始设置一次
if (options.length > 0) {
hasOptions.value = true;
} else {

View File

@@ -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: `