繁体   English   中英

我更改了flask-qrcode的语法,但无法

[英]I changed the syntax in flask-qrcode but couldn't

我在https://github.com/marcoagner/Flask-QRcode/tree/master/sample_application中使用代码,但是{{}}符号出现错误

<img src="{{ qrcode("Load icon image from static folder.", error_correction='H', icon_img='icon.jpg') }}">

我将其更改为

var test = "hello eve."

<img src="{{ qrcode("+test+", error_correction='H', icon_img='icon.jpg') }}"> 

它没有用,但失败了,我在互联网上搜索了很多,但我仍然不知道那是什么

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM