企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
# foreach forech标签 属性 `name`:表示数据源; `item`:表示循环变量; ```html <foreach name="list" item="vo" > {$vo.name} {$key} </foreach> ``` 更改属性key的变量名: ```html <foreach name="list" item="vo" key="k"> {$vo.name} {$k} </foreach> ```