Binaryify / vue-qr

The Vue Component for Awesome-qr.js
MIT License
849 stars 123 forks source link

Uncaught (in promise) DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0. #72

Open CaoJ20132014 opened 4 years ago

CaoJ20132014 commented 4 years ago

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

davy-gan commented 4 years ago

同出这个错误

Binaryify commented 4 years ago

提供下重现步骤

davy-gan commented 4 years ago

image image image

Binaryify commented 3 years ago

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