fix #201
This commit is contained in:
parent
91fa810503
commit
d6a6e3420b
@ -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);
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user