# getUrlSearch(obj) ⇒ string
传入对象,转换为url参数,结果符合window.location.search
Returns: string
-
返回结果符合window.location.search
Author: liukun 919590347@qq.com
Param | Type | Description |
---|---|---|
obj | object | 需要转换的对象 |
Example
import { getUrlSearch } from '@wont/utils'
getUrlSearch({a:'1',b:'2'}) // a=1&b=2'