FreeMaker循環嵌套數據輸出

一、freemaker循環輸出list數據的格式咱們都知道是 <#list user as userList> ${user.username} </#list> 二、可是若是list裏面還有list對象,須要循環嵌套輸出數據呢? 也很簡單,就是按照格式多寫一個循環。html <#list userDetails as userInfo> ${userInfo.regulation}
相關文章
相關標籤/搜索