将news函数作为参数传给装饰器函数 show_news=user_login(news) ... 定义键值2 return render_template('index2.html',**locals()) #渲染模型并传值 ...
確定! 回上一頁