收藏
回答

wx.canvasToTempFilePath 生成图片报错?

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 个回答

  • 阿白
    阿白
    发表于小程序端
    2021-08-02

    cavans参数传递canvas对象

    2021-08-02
    有用 1
    回复 1
    • 呦
      2021-08-03
      非常感谢,
      2021-08-03
      回复
登录 后发表内容