-
<#list currentPathList as path>
-
<#if path_index == 0>
-
</#if>
-
</#list>
as 后面的那个变量,加上_index,就可以表示当前循环到第几项
最后
以上就是懵懂黄蜂最近收集整理的关于freemarker中遍历list获取索引值的全部内容,更多相关freemarker中遍历list获取索引值内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
<#list currentPathList as path>
<#if path_index == 0>
</#if>
</#list>
as 后面的那个变量,加上_index,就可以表示当前循环到第几项
以上就是懵懂黄蜂最近收集整理的关于freemarker中遍历list获取索引值的全部内容,更多相关freemarker中遍历list获取索引值内容请搜索靠谱客的其他文章。
发表评论 取消回复