canvasPutImageData中成功回调导出图片问题
- 当前 Bug 的表现(可附上截图) [图片] - 预期表现 开发者工具中不draw,就不会生效,真机(安卓 mix2s Android9版本)中测试时发现开启draw不生效,关闭直接导出图片会生效 - 复现路径 - 提供一个最简复现 Demo wx.canvasPutImageData({ canvasId: 'canvas1', data: imgData.data, x: 0, y: 0, width: width, height: height, success: function(res) { console.log('log') // ctx.draw(true, () => { console.log('create img') wx.canvasToTempFilePath({ x: 0, y: 0, width: width, height: height, destWidth: 3 * width, destHeight: 3 * height, canvasId: 'canvas1', success: function(res) { console.log(res) }, fail: function(res) {}, complete: function(res) {}, }, that) // }) }, fail: function(res) {}, complete: function(res) {}, })