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

[html] 第739天 在H5中,如何解决长按二维码图片识别不出或者错误的问题? #3856

Open
haizhilin2013 opened this issue Apr 23, 2021 · 1 comment
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第739天 在H5中,如何解决长按二维码图片识别不出或者错误的问题?

3+1官网

我也要出题

@haizhilin2013 haizhilin2013 added the html html label Apr 23, 2021
@helishou
Copy link

从网易MTL的测试数据得知,大部分移动端浏览器只能识别渲染的二维码,为了让全部移动端浏览器都能识别二维码,那只能使用渲染二维码了。若使用SVG和Canvas的方式生成二维码,那就想方设法把二维码数据转换成Base64再赋值到的src上。
一个页面可能存在多个二维码,若长按二维码只能识别最后一个,那只能控制每个页面只存在一个二维码。

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

No branches or pull requests

2 participants