wx.canvasToTempFilePath 生成图片报错?

发布于 7 年前作者 yiqiang11506 次浏览最后编辑 7 年前来自 issues

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)'

代码片段:https://developers.weixin.qq.com/s/I6HU8XmP7Vry

1 回复
wsong
wsong1 楼4 年前

cavans参数传递canvas对象