From 76c494409d1073f5a2c56496d391080474fb76f7 Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 20 May 2025 15:36:47 +0800 Subject: [PATCH] feat: http single run --- .../workflow/nodes/http/use-single-run-form-params.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/app/components/workflow/nodes/http/use-single-run-form-params.ts b/web/app/components/workflow/nodes/http/use-single-run-form-params.ts index c5cd77d665..72f6226e94 100644 --- a/web/app/components/workflow/nodes/http/use-single-run-form-params.ts +++ b/web/app/components/workflow/nodes/http/use-single-run-form-params.ts @@ -61,8 +61,13 @@ const useSingleRunFormParams = ({ ] }, [inputVarValues, setInputVarValues, varInputs]) + const getDependentVars = () => { + return varInputs.map(item => item.variable.slice(1, -1).split('.')) + } + return { forms, + getDependentVars, } }