This commit is contained in:
nailuoGG 2019-11-29 20:42:55 +08:00
parent 8b6942e0ac
commit 9534a8f156

View File

@ -178,6 +178,8 @@ Component({
setTimeout(() => { setTimeout(() => {
wx.canvasToTempFilePath({ wx.canvasToTempFilePath({
canvasId: 'k-canvas', canvasId: 'k-canvas',
destWidth: that.canvasWidthInPx,
destHeight: that.canvasHeightInPx,
success: function (res) { success: function (res) {
that.getImageInfo(res.tempFilePath); that.getImageInfo(res.tempFilePath);
}, },