且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在烧瓶中显示目录中的所有图像

更新时间:2023-01-06 22:25:57

尝试将行更改为此:

<img src="{{url_for('static', filename=hist)}}" alt="{{hist}}">

您在其中还有一组{{ }},它们分别渲染为%7B%7D.

You had an extra set of {{ }} in there which was rendering as %7B and %7D.