From 88022747bebe2054223e0241d68d410771405e68 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 27 May 2025 15:32:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E4=BB=BB=E5=8A=A1=E6=97=A0=E6=B3=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9dns=E6=8F=90=E4=BE=9B=E5=95=86=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/plugin-cert/src/plugin/cert-plugin/index.ts | 8 ++++---- .../certd/pipeline/pipeline/component/step-form/index.vue | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/plugins/plugin-cert/src/plugin/cert-plugin/index.ts b/packages/plugins/plugin-cert/src/plugin/cert-plugin/index.ts index 6f6a58c4..54562740 100644 --- a/packages/plugins/plugin-cert/src/plugin/cert-plugin/index.ts +++ b/packages/plugins/plugin-cert/src/plugin/cert-plugin/index.ts @@ -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 } - } + }) } } `, diff --git a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue index 3adb93bf..374b4e6a 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue @@ -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); }