# objectToFormData(obj) ⇒ FormData

对象递归转FormData,支持递归转换

Returns: FormData -

转换后的数据,格式为FormData


Author: liukun 919590347@qq.com

Param Type Description
obj Object

数据源对象

Example

import { objectToFormData } from '@wont/utils'
objectToFormData({a:1})  // returns 1