【qrcode】The size downloaded from qrcode is different from the size set
winnerwyy opened this issue · 3 comments
winnerwyy commented
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.1
Environment
"vue": "^3.2.13"
Reproduction link
https://antdv.com/components/qrcode-cn
Steps to reproduce
qrcode's default download click view size is different from the size on the page
What is expected?
The display size is the same as the download size
What is actually happening?
The display size does not match the download size
Aaron-zon commented
默认大小是160减去dom的边距和边框,二维码本身的尺寸是134,你下载下来的尺寸是多大
winnerwyy commented
Aaron-zon commented
我在官网提供的示例里没有下载出尺寸异常的二维码,也许已经有人修改了,我觉得你可以更新一下版本或者写个最小复现案例出来