收藏
回答

canvas生成的图片,变成了空白?

ctx.drawImage('/static/images/index/shareBg.webp', this.getWidth(0), this.getHeight(0), this.getWidth(250), this.getHeight(445));

工具里面是正常的 应该排除代码的问题?手机上打开背景图就没了


回答关注问题邀请回答
收藏

1 个回答

  • Demons
    Demons
    05-07

    请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    05-07
    有用
    回复
登录 后发表内容