From 8b14ae8cd0f5cc33755453953a0678ae7b370978 Mon Sep 17 00:00:00 2001 From: Junyi Date: Wed, 18 Dec 2024 19:25:34 +0800 Subject: [PATCH] fix(plugin-workflow): fix variable input in node test (#5908) * fix(plugin-workflow): fix variable input in node test * fix(plugin-workflow): fix variable input onchange value --- .../@nocobase/plugin-workflow/src/client/nodes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/index.tsx b/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/index.tsx index 973495c086..38f664c1ff 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/index.tsx +++ b/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/index.tsx @@ -385,7 +385,7 @@ function TestFormFieldset({ value, onChange }) { value={get(value, key)} onChange={(v) => { set(value, key, v); - onChange(value); + onChange(toJS(value)); }} /> ))}