Skip to content

Commit a78518b

Browse files
committed
fix: The variable dropdown list of the variable assignment node in the loop body is empty
1 parent 879d91f commit a78518b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui/src/workflow/common/NodeCascader.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ const get_up_node_field_list = (contain_self: boolean, use_cache: boolean) => {
9494
return result.filter((v: any) => v.children && v.children.length > 0)
9595
}
9696
const getOptionsValue = () => {
97-
if ([WorkflowMode.ApplicationLoop, WorkflowMode.KnowledgeLoop].includes(workflowMode)) {
97+
if (
98+
[WorkflowMode.ApplicationLoop, WorkflowMode.KnowledgeLoop, WorkflowMode.ToolLoop].includes(
99+
workflowMode,
100+
)
101+
) {
98102
return props.global
99103
? get_up_node_field_list(false, true).filter(
100104
(v: any) =>

0 commit comments

Comments
 (0)