freemarker模板添加表格自增行号

人工智能,零基础入门!http://www.captainbed.net/inner

【1】 循环list

<#list page.items as vo>

【2】使用xx_index的脚标方式即可取得每个循环的下标(起始位是0) ,例如:

${vo_index+1}

猜你喜欢

转载自blog.csdn.net/qq_35860138/article/details/103611537