dm-dev-utils

1.0.1 • Public • Published

Utils工具包

发送异步请求 @url 请求的地址 @fn 请求成功时候的回调函数 get请求:Utils.getData()

post请求 postData(url, params, fn)

将对象转化成query的形式

将对象转化成query的形式
@obj 	转化的对象 {color:red, num:100}
return 	?color=red&num=100

Readme

Keywords

Package Sidebar

Install

npm i dm-dev-utils

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

3.01 kB

Total Files

3

Last publish

Collaborators

  • xiangjun9988