Merge remote-tracking branch 'baidu/master'

This commit is contained in:
liaoxuezhi 2019-10-23 23:02:18 +08:00
commit c6582133e5
1 changed files with 2 additions and 2 deletions

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