mirror of
https://github.com/halo-dev/docs.git
synced 2026-01-14 01:00:58 +08:00
fix: photoTag listByTeam example (#84)
Fixes #85 ```release-note None ```
This commit is contained in:
@@ -2082,8 +2082,8 @@ photos:
|
||||
#### 示例
|
||||
|
||||
```html
|
||||
<@photoTag method="listTeams" team="风景">
|
||||
<#list team.photos as photo>
|
||||
<@photoTag method="listByTeam" team="风景">
|
||||
<#list photos as photo>
|
||||
<img alt="${photo.description}" src="${photo.url}"/>
|
||||
</#list>
|
||||
</@photoTag>
|
||||
|
||||
@@ -2082,8 +2082,8 @@ photos:
|
||||
#### 示例
|
||||
|
||||
```html
|
||||
<@photoTag method="listTeams" team="风景">
|
||||
<#list team.photos as photo>
|
||||
<@photoTag method="listByTeam" team="风景">
|
||||
<#list photos as photo>
|
||||
<img alt="${photo.description}" src="${photo.url}"/>
|
||||
</#list>
|
||||
</@photoTag>
|
||||
|
||||
Reference in New Issue
Block a user