摘要: 1、在视图函数文件调用 消息闪现的方法 from flask import flash @web.route("/book/search")def search(): flash("hello,lucax",category='error') #category为为消息分类,非必填 flash("h 阅读全文
posted @ 2020-05-13 01:09 凯宾斯基 阅读(338) 评论(0) 推荐(0)