fix: photoTag listByTeam example (#84)

Fixes #85 

```release-note
None
```
This commit is contained in:
vayci
2022-08-01 20:36:11 +08:00
committed by GitHub
parent 3f900d0826
commit e855ddac26
2 changed files with 4 additions and 4 deletions

View File

@@ -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>

View File

@@ -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>