fix: num suuport var insert

This commit is contained in:
Joel 2024-04-02 14:12:24 +08:00
parent 09650b9d47
commit 7a2083a6b7
1 changed files with 1 additions and 1 deletions

View File

@ -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
}))