Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/youngjuning/wxPromise
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjuning committed May 4, 2018
2 parents 20a336f + 12db00c commit 5c4edc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,10 @@

强大的、优雅的 小程序 Promise 库,wxPromise 不仅仅把微信小程序所有异步 API promise 化,还把许多优雅的解决方案封装成方法挂载到 `wx.pro` 对象下。所以在 wxPromise 中,pro 既有 promise 的含义又有扩展的意思。

[![npm](https://img.shields.io/npm/v/wx-promise-pro.svg)](https://www.npmjs.com/package/wx-promise-pro) [![npm](https://img.shields.io/npm/dm/wx-promise-pro.svg)](https://www.npmjs.com/package/wx-promise-pro)

[![NPM](https://nodei.co/npm/wx-promise-pro.png?compact=true)](https://nodei.co/npm/wx-promise-pro/)

## 普通使用方法

`wxPromise.js` copy 到 utils 目录中,然后在 `app.js` 中引入: `import './utils/wxPromise.min.js'`
Expand Down

0 comments on commit 5c4edc6

Please sign in to comment.