Skip to content

Commit 55319c7

Browse files
committed
fix: In the workflow knowledge base, the specified reply node failed to parse the global variable input #4524 (#4528)
1 parent ce0e845 commit 55319c7

File tree

1 file changed

+1
-1
lines changed
  • ui/src/workflow/nodes/knowledge-base-node

1 file changed

+1
-1
lines changed

ui/src/workflow/nodes/knowledge-base-node/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const nodeFields = computed(() => {
5151
const fields = props.nodeModel.properties.user_input_field_list.map((item: any) => ({
5252
label: typeof item.label == 'string' ? item.label : item.label.label,
5353
value: item.field,
54-
globeLabel: `{{global.${typeof item.label == 'string' ? item.label : item.label.label}}}`,
54+
globeLabel: `{{global.${item.field}}}`,
5555
globeValue: `{{context['global'].${item.field}}}`,
5656
}))
5757
set(props.nodeModel.properties.config, 'globalFields', fields)

0 commit comments

Comments
 (0)