修正url_for函数拼接静态文件路径可能发生的308错误:filename这里的路径不需要以“/”开头 Signed-off-by: Teishorin <shandongdxl2004@126.com>
2 lines
179 B
HTML
2 lines
179 B
HTML
<script src="{{ url_for('static', filename='admin/component/layui/layui.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='admin/component/pear/pear.js') }}"></script> |