mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
fix: In the workflow knowledge base, the specified reply node failed to parse the global variable input #4524 (#4528)
This commit is contained in:
parent
ce0e845e6e
commit
55319c7a89
|
|
@ -51,7 +51,7 @@ const nodeFields = computed(() => {
|
|||
const fields = props.nodeModel.properties.user_input_field_list.map((item: any) => ({
|
||||
label: typeof item.label == 'string' ? item.label : item.label.label,
|
||||
value: item.field,
|
||||
globeLabel: `{{global.${typeof item.label == 'string' ? item.label : item.label.label}}}`,
|
||||
globeLabel: `{{global.${item.field}}}`,
|
||||
globeValue: `{{context['global'].${item.field}}}`,
|
||||
}))
|
||||
set(props.nodeModel.properties.config, 'globalFields', fields)
|
||||
|
|
|
|||
Loading…
Reference in New Issue