From d6c7326467d3afcacb78b297ff2c230e7c36748a Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 26 Nov 2024 01:14:16 +0800 Subject: [PATCH] chore: --- .../src/components/plugins/common/api-test.vue | 2 +- .../components/plugins/common/remote-select.vue | 2 +- .../plugins/synology/device-id-getter.vue | 13 +++++++++---- .../src/views/certd/notification/common.tsx | 9 +-------- .../pipeline/component/step-form/index.vue | 14 ++++++++------ 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/ui/certd-client/src/components/plugins/common/api-test.vue b/packages/ui/certd-client/src/components/plugins/common/api-test.vue index 8bda37d0..8145abe9 100644 --- a/packages/ui/certd-client/src/components/plugins/common/api-test.vue +++ b/packages/ui/certd-client/src/components/plugins/common/api-test.vue @@ -49,7 +49,7 @@ const doTest = async () => { type: pluginType, typeName: form.type, action: props.action, - input: form + input: pluginType === "plugin" ? form.input : form }, { onError(err: any) { diff --git a/packages/ui/certd-client/src/components/plugins/common/remote-select.vue b/packages/ui/certd-client/src/components/plugins/common/remote-select.vue index 63ed81f7..410a2e08 100644 --- a/packages/ui/certd-client/src/components/plugins/common/remote-select.vue +++ b/packages/ui/certd-client/src/components/plugins/common/remote-select.vue @@ -87,7 +87,7 @@ const getOptions = async () => { type: pluginType, typeName: form.type, action: props.action, - input: form + input: pluginType === "plugin" ? form.input : form }, { onError(err: any) { diff --git a/packages/ui/certd-client/src/components/plugins/synology/device-id-getter.vue b/packages/ui/certd-client/src/components/plugins/synology/device-id-getter.vue index 37b523b2..b60416f4 100644 --- a/packages/ui/certd-client/src/components/plugins/synology/device-id-getter.vue +++ b/packages/ui/certd-client/src/components/plugins/synology/device-id-getter.vue @@ -10,7 +10,7 @@