Taro: 微信小程序的开放接口怎么调用

Created on 11 Aug 2018  ·  6Comments  ·  Source: NervJS/taro

例如wx.login, 支付的,授权的,转发的等等

文档里没有提啊

Most helpful comment

getFileSystemManager() 这个API支持吗?

All 6 comments

把wx替换成Taro就可以了,都可以直接使用

index.d.ts中定义的Param有问题啊

wx.login的Object有很多,里面就定义了一个timeout

index.d.ts定义的login参数不全

    type Param = {
      /**
       * 需要获取权限的scope,详见 [scope 列表](https://developers.weixin.qq.com/miniprogram/dev/api/authorize-index.html#scope-列表)
       */
      scope: string
    }

实际上这个login的参数Object远远不止这么一个timeout key

这个定义不全,但是不影响使用啊, 你看微信的文档写就行了 另外你可以PR

getFileSystemManager() 这个API支持吗?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

linxiaowu66 picture linxiaowu66  ·  3Comments

Zchary-Ma picture Zchary-Ma  ·  3Comments

liu-dongyu picture liu-dongyu  ·  3Comments

fxy5869571 picture fxy5869571  ·  3Comments

ruixiu picture ruixiu  ·  3Comments