Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
winnerwyy opened this issue May 13, 2024 · 3 comments
Open
1 task

Comments

@winnerwyy
Copy link

  • 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
Copy link

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

@winnerwyy
Copy link
Author

QRCode (17)
268

@Aaron-zon
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants