Freemarker template adds table self-increment row number

Artificial intelligence, zero-based entry! http://www.captainbed.net/inner

[1] Cycle list

<#list page.items as vo>

[2] xx_indexThe subscript of each cycle can be obtained by using the subscript method (the starting bit is 0), for example:

${vo_index+1}

Guess you like

Origin blog.csdn.net/qq_35860138/article/details/103611537