Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
214 views
in Technique[技术] by (71.8m points)

javascript - 我更改了flask-qrcode的语法,但无法(I changed the syntax in flask-qrcode but couldn't)

i use code in https://github.com/marcoagner/Flask-QRcode/tree/master/sample_application but I had an error with the {{}} sign

(我在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') }}">

I changed it to

(我将其更改为)

var test = "hello eve."

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

It didn't work and it failed, I searched the internet a lot but I still didn't know what it was

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

  ask by Tuan Pham translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...