fix: http other params check

This commit is contained in:
Joel 2024-04-01 18:48:36 +08:00
parent ab2c112059
commit e08d871837
1 changed files with 7 additions and 9 deletions

View File

@ -100,15 +100,13 @@ const useConfig = (id: string, payload: HttpNodeType) => {
data: inputs,
defaultRunInputData: {},
})
const hasVarTexts = (() => {
return [
inputs.url,
// inputs.headers,
// inputs.params,
// inputs.body.data,
]
})()
const varInputs = getInputVars(hasVarTexts)
const varInputs = getInputVars([
inputs.url,
inputs.headers,
inputs.params,
inputs.body.data,
])
const inputVarValues = (() => {
const vars: Record<string, any> = {}