kbone-api
kbone-api copied to clipboard
统一封装请求会有问题,同一个接口400,小程序走的resolve,h5走的reject    查看源码发现小程序这边请求是不会返回response.ok的,这边判断有点问题 
翻看了源码, 发现modal只返回一个Modal类的实例, option初始赋值之后, 再赋值就无效了.
https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html wx 端默认以 application/json 
render日志1.4.3版本添加了对document.documentElement.scrollTop的支持,但是这个api在fixed元素中表现始终为0,目前使用版本为1.4.5
比如调用 kboneAPI.getSystemInfoSync() web端返回的都是mock数据 
fix: Type inference error
fix: Modify the function to be asynchronous