diff --git a/painter.js b/painter.js index 95ba85d..092e0df 100644 --- a/painter.js +++ b/painter.js @@ -724,6 +724,8 @@ Component({ setTimeout(() => { wx.canvasToTempFilePath({ canvasId: 'photo', + destWidth: that.canvasWidthInPx, + destHeight: that.canvasHeightInPx, success: function (res) { that.getImageInfo(res.tempFilePath); },