在freemarker标签中创建一个自增字段并且遍历一个List映射map荟萃

原创
小哥 3年前 (2022-11-11) 阅读数 9 #大杂烩
<#if downLoadAttachmentUrls?? && (downLoadAttachmentUrls?size > 0)>
    <#assign index = 0 >
    <#list downLoadAttachmentUrls  as urlMap >

        <#list urlMap?keys as itemKey>
            <#assign index = index+1>     //使index循环加一
      ${urlMap[itemKey]}

        
   
版权声明

所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除