mirror of https://github.com/certd/certd
fix: 修复证书申请任务无法修改dns提供商类型的bug
parent
ebb292a2f7
commit
88022747be
|
@ -102,11 +102,11 @@ export class CertApplyPlugin extends CertApplyBasePlugin {
|
||||||
return form.challengeType === 'dns'
|
return form.challengeType === 'dns'
|
||||||
}),
|
}),
|
||||||
component:{
|
component:{
|
||||||
on:{
|
onSelectedChange: ctx.compute(({form})=>{
|
||||||
selectedChange({form,$event}){
|
return ($event)=>{
|
||||||
form.dnsProviderAccessType = $event.accessType
|
form.dnsProviderAccessType = $event.accessType
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|
|
@ -208,7 +208,6 @@ function useStepForm() {
|
||||||
const stepOpen = (step: any, emit: any) => {
|
const stepOpen = (step: any, emit: any) => {
|
||||||
callback.value = emit;
|
callback.value = emit;
|
||||||
currentStep.value = merge({ input: {}, strategy: {} }, step);
|
currentStep.value = merge({ input: {}, strategy: {} }, step);
|
||||||
|
|
||||||
if (step.type) {
|
if (step.type) {
|
||||||
changeCurrentPlugin(currentStep.value);
|
changeCurrentPlugin(currentStep.value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue