diff --git a/src/execute/index.js b/src/execute/index.js index 08dc4832..2d30368d 100644 --- a/src/execute/index.js +++ b/src/execute/index.js @@ -11,7 +11,7 @@ function getWorkflowDetail() { const variables = {}; const { 1: workflowId } = pathname.split('/'); - searchParams.forEach((key, value) => { + searchParams.forEach((value, key) => { const varValue = parseJSON(decodeURIComponent(value), '##_empty'); if (varValue === '##_empty') return;