# OfficeTool **Repository Path**: amuliang/OfficeTool ## Basic Information - **Project Name**: OfficeTool - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-27 - **Last Updated**: 2021-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OfficeTool ## 限定作用对象类型 例如想要循环渲染行数据,则必须指定表达式作用的对象是行 ``` $ ``` 因为是循环行,所以需要一个迭代器,迭代器的写法为`@list@item@index` ``` $@users@user@i ``` 模板写法如下: |名次|姓名|年龄| |-|-|-| |$\@users@user@i 第$add(i,1)名|$user.name|$user.age| ## 取数组元素 ``` $users[1] ``` ## 取对象属性 ``` $user.name ```