mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: eab从更多参数中挪到外面
This commit is contained in:
@@ -1 +1 @@
|
|||||||
export * from "@certd/plugin-lib";
|
export * from "@certd/plugin-lib";
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ const getOptions = async () => {
|
|||||||
|
|
||||||
optionsRef.value = options;
|
optionsRef.value = options;
|
||||||
if (hasOptions.value == null) {
|
if (hasOptions.value == null) {
|
||||||
|
//初始设置一次
|
||||||
if (options.length > 0) {
|
if (options.length > 0) {
|
||||||
hasOptions.value = true;
|
hasOptions.value = true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ export class CertApplyPlugin extends CertApplyBasePlugin {
|
|||||||
name: "access-selector",
|
name: "access-selector",
|
||||||
type: "eab",
|
type: "eab",
|
||||||
},
|
},
|
||||||
maybeNeed: true,
|
maybeNeed: false,
|
||||||
required: false,
|
required: false,
|
||||||
helper:
|
helper:
|
||||||
"需要提供EAB授权" +
|
"需要提供EAB授权" +
|
||||||
@@ -291,7 +291,7 @@ export class CertApplyPlugin extends CertApplyBasePlugin {
|
|||||||
name: "access-selector",
|
name: "access-selector",
|
||||||
type: "google",
|
type: "google",
|
||||||
},
|
},
|
||||||
maybeNeed: true,
|
maybeNeed: false,
|
||||||
required: false,
|
required: false,
|
||||||
helper: "google服务账号授权与EAB授权选填其中一个,[服务账号授权获取方法](https://certd.docmirror.cn/guide/use/google/)\n服务账号授权需要配置代理或者服务器本身在海外",
|
helper: "google服务账号授权与EAB授权选填其中一个,[服务账号授权获取方法](https://certd.docmirror.cn/guide/use/google/)\n服务账号授权需要配置代理或者服务器本身在海外",
|
||||||
mergeScript: `
|
mergeScript: `
|
||||||
|
|||||||
Reference in New Issue
Block a user