Skip to content

Commit 9d23b62

Browse files
authored
fix: Modify the parameter name and display name of the loop variable in the loop node, but the variable name is not updated in the nodes outside the loop (#4485)
1 parent ec51820 commit 9d23b62

File tree

1 file changed

+1
-0
lines changed
  • ui/src/workflow/nodes/loop-body-node

1 file changed

+1
-0
lines changed

ui/src/workflow/nodes/loop-body-node/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const refresh_loop_fields = (fields: Array<any>) => {
6969
const loop_node = props.nodeModel.graphModel.getNodeModelById(loop_node_id)
7070
if (loop_node) {
7171
loop_node.properties.config.fields = fields
72+
loop_node.clear_next_node_field(true)
7273
}
7374
}
7475

0 commit comments

Comments
 (0)