Canvas.toTempFilePath(Object object) object.success 回调函数参数Object res 示例代码 let tempFilePath = canvas.toTempFilePathSync({ y: 10, width: 200, destWidth: 400,})wx.shareAppMessage({ imageUrl: tempFilePath