fix: 修复证书申请任务无法修改dns提供商类型的bug

pull/409/head
xiaojunnuo 2025-05-27 15:32:31 +08:00
parent ebb292a2f7
commit 88022747be
2 changed files with 4 additions and 5 deletions

View File

@ -102,11 +102,11 @@ export class CertApplyPlugin extends CertApplyBasePlugin {
return form.challengeType === 'dns'
}),
component:{
on:{
selectedChange({form,$event}){
form.dnsProviderAccessType = $event.accessType
onSelectedChange: ctx.compute(({form})=>{
return ($event)=>{
form.dnsProviderAccessType = $event.accessType
}
}
})
}
}
`,

View File

@ -208,7 +208,6 @@ function useStepForm() {
const stepOpen = (step: any, emit: any) => {
callback.value = emit;
currentStep.value = merge({ input: {}, strategy: {} }, step);
if (step.type) {
changeCurrentPlugin(currentStep.value);
}