fix(categories): 修复多级分类导致的500错误,#3
This commit is contained in:
parent
b9a8f3b74c
commit
86a39f29ca
@ -24,7 +24,7 @@
|
|||||||
<span class="level-item tag" th:text="${category.status.postCount}"></span>
|
<span class="level-item tag" th:text="${category.status.postCount}"></span>
|
||||||
</a>
|
</a>
|
||||||
<ul th:if="${!#lists.isEmpty(category.children)}">
|
<ul th:if="${!#lists.isEmpty(category.children)}">
|
||||||
<th:block th:replace="~{:: categories (category.children)}"/>
|
<th:block th:replace="~{:: categories (${category.children})}"/>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
Loading…
Reference in New Issue
Block a user