feat: code var sync

This commit is contained in:
Joel
2024-03-21 16:43:11 +08:00
parent fd7fded6e5
commit fe1168d15a
3 changed files with 12 additions and 2 deletions

View File

@ -86,6 +86,7 @@ const useConfig = (id: string, payload: CodeNodeType) => {
}, [allLanguageDefault, inputs, setInputs])
const { handleVarsChange, handleAddVariable: handleAddOutputVariable, handleRemoveVariable } = useOutputVarList<CodeNodeType>({
id,
inputs,
setInputs,
outputKeyOrders,