fix: delete not working properly on request body (#2861)
This commit is contained in:
parent
17d72b9922
commit
75c0350584
1 changed files with 3 additions and 1 deletions
|
|
@ -332,7 +332,9 @@ const deleteBodyParam = (index: number) => {
|
|||
})
|
||||
}
|
||||
|
||||
workingParams.value.splice(index, 1)
|
||||
workingParams.value = workingParams.value.filter(
|
||||
(_, arrIndex) => arrIndex != index
|
||||
)
|
||||
}
|
||||
|
||||
const clearContent = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue