修改qsstringify数组默认类型

This commit is contained in:
catchonme 2019-10-23 17:34:51 +08:00
parent 112c2b7e15
commit 96d05c0c67

View File

@ -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()