wx.canvasToTempFilePath 生成图片报错?
发布于 6 年前 作者 yiqiang 11369 次浏览 来自 官方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 回复

cavans参数传递canvas对象

回到顶部