- 小程序报I/O错误
小程序在调用接口的过程中,报如下错误 wx.request fail callback with msg request:fail Read error: ssl=0xb6759780: I/O error during system call, Connection reset by peer with seq 0
2018-12-28 - 小米手机调用makePhoneCall时,无法走到fail回调
wx.makePhoneCall({ phoneNumber: 'xxxxxxxxxxx', success: function (res) { wx.reLaunch({ url: '../home/home', }); console.log('success') }, fail: function (res) { console.log('fail') }, complete: function (res) { console.log('complete') }, })
2018-05-30 - drawImage在开发工具上可以正常使用,真机上不正常
let context = wx.createCanvasContext('myCanvas',this); context.drawImage("data:image/jpeg;base64," + wx.arrayBufferToBase64(res.data), 0, 0, 150, 100); context.draw(true, function (rs){ wx.canvasToTempFilePath({ canvasId: 'myCanvas', success: function (res) { self.setData({ tempSavePath: res.tempFilePath }); } }) });
2018-05-07