From 0c6e4b73b88f8dcff1add05354be4361edded414 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 23 Oct 2024 16:44:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E6=97=B6=E6=B2=A1=E6=98=BE=E7=A4=BA=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=90=8D=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/workflow/nodes/start-node/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/workflow/nodes/start-node/index.vue b/ui/src/workflow/nodes/start-node/index.vue index d501ebb4a..883495bba 100644 --- a/ui/src/workflow/nodes/start-node/index.vue +++ b/ui/src/workflow/nodes/start-node/index.vue @@ -51,7 +51,7 @@ const getRefreshFieldList = () => { .filter((v: any) => v.id === 'base-node') .map((v: any) => cloneDeep(v.properties.api_input_field_list)) .reduce((x: any, y: any) => [...x, ...y], []) - .map((i: any) => ({ label: i.name, value: i.variable })) + .map((i: any) => ({ label: i.name || i.variable, value: i.variable })) return [...user_input_fields, ...api_input_fields] }