kbone-api icon indicating copy to clipboard operation
kbone-api copied to clipboard

Results 9 kbone-api issues
Sort by recently updated
recently updated
newest added

统一封装请求会有问题,同一个接口400,小程序走的resolve,h5走的reject ![图片](https://user-images.githubusercontent.com/22443142/84752129-f1620980-afef-11ea-9e19-4161b3583865.png) ![图片](https://user-images.githubusercontent.com/22443142/84752258-1b1b3080-aff0-11ea-8d22-b2c3ff5cb25e.png) ![图片](https://user-images.githubusercontent.com/22443142/84752302-2a01e300-aff0-11ea-8689-837f38a2c20a.png) 查看源码发现小程序这边请求是不会返回response.ok的,这边判断有点问题 ![图片](https://user-images.githubusercontent.com/22443142/84752354-384fff00-aff0-11ea-8088-f91e9a159fc6.png)

翻看了源码, 发现modal只返回一个Modal类的实例, option初始赋值之后, 再赋值就无效了.

https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html wx 端默认以 application/json ![image](https://user-images.githubusercontent.com/8725110/84223347-4abbcb80-ab0c-11ea-9bd8-ccb66d629104.png)

render日志1.4.3版本添加了对document.documentElement.scrollTop的支持,但是这个api在fixed元素中表现始终为0,目前使用版本为1.4.5

比如调用 kboneAPI.getSystemInfoSync() web端返回的都是mock数据 ![image](https://user-images.githubusercontent.com/28182882/78226486-5a140c80-74fe-11ea-85f5-6d686713d1ab.png)

fix: Modify the function to be asynchronous