let canvas = wx.createOffscreenCanvas({ type: '2d', width: 375, height: 375 })
const context = canvas.getContext('2d')
wx.canvasToTempFilePath({ canvas, x: 0, y: 0, width: avatarSize, height: avatarSize, destWidth: avatarSize, destHeight: avatarSize })
在调试基础库 2.27.2中报错
canvasToTempFilePath:internal error
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。