获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
结果呢
createOffscreenCanvas 生成的canvas实例无法保存至本地?const canvas = wx.createOffscreenCanvas({type: '2d', width: 750, height: 1334}) wx.canvasToTempFilePath({ canvas: canvas, success: (resss) => { }, fail: function(err) { console.log(err) } }) 报错: TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)' 开发工具, 调试基础库 2.17.0
2021-11-22