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 @@