如何在烧瓶中防止这种情况
<image src="/static/%7B%7Bprof%7D%7D" >
<image src="/static/images/download.jpg" >
我的代码<image src="{{url_for('static',filename = 'images/download.jpg')}}" >
<!--filename = "path of your image in in static folder"-->
<image src="{{url_for('static',filename = '{{prof}}')}}" >
prof是路由
传递的值。这不行吗?
{{url_for('static',filename = prof)}}