ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

【qrcode】The size downloaded from qrcode is different from the size set

Open winnerwyy opened this issue 1 year ago • 3 comments
trafficstars

  • [ ] 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

winnerwyy avatar May 13 '24 02:05 winnerwyy

默认大小是160减去dom的边距和边框,二维码本身的尺寸是134,你下载下来的尺寸是多大

Aaron-zon avatar May 14 '24 06:05 Aaron-zon

QRCode (17) 268

winnerwyy avatar May 15 '24 09:05 winnerwyy

我在官网提供的示例里没有下载出尺寸异常的二维码,也许已经有人修改了,我觉得你可以更新一下版本或者写个最小复现案例出来

Aaron-zon avatar May 16 '24 01:05 Aaron-zon

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 15 '24 02:07 github-actions[bot]