#跳转操作:redirect@app.route("/red")def red(): return redirect("/login") 转载于:https://www.cnblogs.com/ajaxa/p/11156481.html