mirror of
https://github.com/langgenius/dify.git
synced 2026-03-23 15:27:53 +08:00
fix: num suuport var insert
This commit is contained in:
@ -153,7 +153,7 @@ const useConfig = (id: string, payload: ToolNodeType) => {
|
||||
|
||||
const varInputs = getInputVars(hadVarParams.map((p) => {
|
||||
if (p.type === VarType.variable)
|
||||
return `{{#${[p.value as ValueSelector].join('.')}#}}`
|
||||
return `{{#${(p.value as ValueSelector).join('.')}#}}`
|
||||
|
||||
return p.value as string
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user