diff --git a/painter.js b/painter.js index a434af9..cb352b2 100644 --- a/painter.js +++ b/painter.js @@ -178,6 +178,8 @@ Component({ setTimeout(() => { wx.canvasToTempFilePath({ canvasId: 'k-canvas', + destWidth: that.canvasWidthInPx, + destHeight: that.canvasHeightInPx, success: function (res) { that.getImageInfo(res.tempFilePath); },