wx.canvasToTempFilePath(OBJECT)报错
wx.canvasToTempFilePath({
canvasId: ‘firstCanvas’,
success: function (res) {
console.log(res.tempFilePath)
},
complete: function complete(e) {
console.log(e);
},
fail: function (res) {
console.log(res)
}
})
安卓机报错:create bitmapfailed;
开发工具可以正常使用:
ios下整个变黑: