mirror of https://github.com/langgenius/dify.git
fix: num suuport var insert
This commit is contained in:
parent
09650b9d47
commit
7a2083a6b7
|
|
@ -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
|
||||
}))
|
||||
|
|
|
|||
Loading…
Reference in New Issue