Skip to content

Commit 56de27a

Browse files
committed
fix: 修复form表单表单数据未解构
1 parent 8288896 commit 56de27a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/application/flow/step_node/form_node/impl/base_form_node.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def execute(self, form_field_list, form_content_format, form_data, **kwargs) ->
4646
if form_data is not None:
4747
self.context['is_submit'] = True
4848
self.context['form_data'] = form_data
49+
for key in form_data:
50+
self.context[key] = form_data.get(key)
4951
else:
5052
self.context['is_submit'] = False
5153
form_setting = {"form_field_list": form_field_list, "runtime_node_id": self.runtime_node_id,

0 commit comments

Comments
 (0)