流水线节点增加参数默认值

This commit is contained in:
2025-02-18 09:05:56 +08:00
parent 56b277d37b
commit a1d8e4fa40
6 changed files with 17 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
json.extract! node_input, :id, :name, :input_type, :description, :is_required
json.extract! node_input, :id, :name, :input_type, :description, :is_required, :default_value
if node_input.input_type.to_s == "select"
json.select node.action_node_selects do |node_select|
json.partial! "node_select", locals: { node_select: node_select, node: node }