mirror of https://github.com/certd/certd
fix: 修复lego模式无法创建流水线的bug
parent
e51123a951
commit
687bb8a237
|
@ -179,11 +179,7 @@ export class CertApplyLegoPlugin extends CertApplyBasePlugin {
|
|||
if (this.acmeServer) {
|
||||
serverArgs = ` --server ${this.acmeServer}`;
|
||||
}
|
||||
const cmds = [
|
||||
`${legoPath} -a --email "${this.email}" --dns ${this.dnsType} ${keyType} ${domainArgs} ${serverArgs} ${eabArgs} ${savePathArgs} ${
|
||||
this.customArgs || ""
|
||||
} run`,
|
||||
];
|
||||
const cmds = [`${legoPath} -a --email "${this.email}" --dns ${this.dnsType} ${keyType} ${domainArgs} ${serverArgs} ${eabArgs} ${savePathArgs} ${this.customArgs || ""} run`];
|
||||
|
||||
await this.ctx.utils.sp.spawn({
|
||||
cmd: cmds,
|
||||
|
|
|
@ -14,7 +14,8 @@ export default function (certPlugins: any[], formWrapperRef: any): CreateCrudOpt
|
|||
for (const plugin of certPlugins) {
|
||||
for (const inputKey in plugin.input) {
|
||||
if (inputs[inputKey]) {
|
||||
// inputs[inputKey].form.show = true;
|
||||
//如果两个插件有的字段,直接显示
|
||||
inputs[inputKey].form.show = true;
|
||||
continue;
|
||||
}
|
||||
const inputDefine = _.cloneDeep(plugin.input[inputKey]);
|
||||
|
|
Loading…
Reference in New Issue