weapp-util-requestfix-promisify

0.1.6 • Public • Published

weapp-utils-requestfix-promisify

所有的微信方法都挂在 wx.$ 对象上

Usage

import rp from 'weapp-utils-requestfix-promisify';
 
rp.init({
  noPromiseAPI: [],
  requestfix: true,
  promisify: true,
  intercepts: {
    api() {},
  },
});

/weapp-util-requestfix-promisify/

    Package Sidebar

    Install

    npm i weapp-util-requestfix-promisify

    Weekly Downloads

    0

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    9.93 kB

    Total Files

    4

    Last publish

    Collaborators

    • bzone