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

TmTIndex.html页面生成二维码有问题 #14

Closed
xiewl opened this issue Mar 30, 2016 · 1 comment
Closed

TmTIndex.html页面生成二维码有问题 #14

xiewl opened this issue Mar 30, 2016 · 1 comment

Comments

@xiewl
Copy link

xiewl commented Mar 30, 2016

new QRCode(document.getElementById("qrcode"), encodeURI(window.location.href+$(this).parent().parent().find("a").text()))
错误生成格式:http://localhost:8080/html/TmTIndex.htmlwelcome.html
我这边的临时解决方案,通过host+a标签的href属性重新拼接。
new QRCode(document.getElementById("qrcode"), encodeURI("http://"+location.host+ "/html/" + $(this).parent().parent().find("a").attr("href")));});

@littledu
Copy link
Collaborator

@xiewl 谢谢反馈,已修复

@hzlzh hzlzh closed this as completed Apr 8, 2016
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

3 participants