vue-qr icon indicating copy to clipboard operation
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.

Open CaoJ20132014 opened this issue 5 years ago • 4 comments

生成二维码的时候出现这个报错:Uncaught (in promise) DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.

CaoJ20132014 avatar Apr 20 '20 02:04 CaoJ20132014

同出这个错误

davy-gan avatar Jul 03 '20 08:07 davy-gan

提供下重现步骤

Binaryify avatar Jul 03 '20 08:07 Binaryify

image image image

davy-gan avatar Jul 03 '20 08:07 davy-gan

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

Binaryify avatar Oct 05 '20 13:10 Binaryify