vue-qr
vue-qr copied to clipboard
Uncaught (in promise) DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
生成二维码的时候出现这个报错:Uncaught (in promise) DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
同出这个错误
提供下重现步骤

检查你的图片是不是有问题的