diff --git a/src/utils/helper.ts b/src/utils/helper.ts index 17d113b8..b0801a81 100644 --- a/src/utils/helper.ts +++ b/src/utils/helper.ts @@ -780,7 +780,7 @@ export function hasFile(object: any): boolean { export function qsstringify( data: any, options: any = { - arrayFormat: 'brackets', + arrayFormat: 'indices', encodeValuesOnly: true } ) { @@ -790,7 +790,7 @@ export function qsstringify( export function object2formData( data: any, options: any = { - arrayFormat: 'brackets', + arrayFormat: 'indices', encodeValuesOnly: true }, fd: FormData = new FormData()