From 626a7215182b4cf50baa1bb5deaa4017e6c20465 Mon Sep 17 00:00:00 2001 From: zhangshaohu Date: Mon, 26 Aug 2024 21:21:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E5=87=BD=E6=95=B0=E5=BA=93id=E6=9C=AA=E8=B5=8B?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/application-workflow/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index 7d35658cc..91acd7dc3 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -247,7 +247,14 @@ function clickoutsideDebug() { function clickNodes(item: any, data?: any) { if (data) { item['properties']['stepName'] = data.name - item['properties']['node_data'] = data + item['properties']['node_data'] = { + ...data, + function_lib_id: data.id, + input_field_list: data.input_field_list.map((field: any) => ({ + ...field, + value: field.source == 'reference' ? [] : '' + })) + } } workflowRef.value?.addNode(item) showPopover.value = false