摘要: 模板代码的复用 ( 宏( Macro )、继承( Block )、包含( include ) 均能实现代码的复用 ) 二、宏: 宏(Macro)的功能类似函数,可以传入参数,需要定义、调用。 1 {% macro input(label='', type='text', value='', name 阅读全文
posted @ 2018-08-29 12:39 W-Zing 阅读(111) 评论(0) 推荐(0) 编辑