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)

This commit is contained in:
shaohuzhang1 2025-12-10 13:55:32 +08:00 committed by GitHub
parent ec518206ad
commit 9d23b6297d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,7 @@ const refresh_loop_fields = (fields: Array<any>) => {
const loop_node = props.nodeModel.graphModel.getNodeModelById(loop_node_id)
if (loop_node) {
loop_node.properties.config.fields = fields
loop_node.clear_next_node_field(true)
}
}