默认的内容类型是HTML ,因此字符串中的HTML 会被浏览器渲染。 ... from flask import url_for app = Flask(__name__) @app.route('/') def index(): return 'index' ...
確定! 回上一頁