fix(categories): 修复多级分类导致的500错误,#3

This commit is contained in:
nineya 2023-05-05 10:27:06 +08:00
parent b9a8f3b74c
commit 86a39f29ca

View File

@ -24,7 +24,7 @@
<span class="level-item tag" th:text="${category.status.postCount}"></span>
</a>
<ul th:if="${!#lists.isEmpty(category.children)}">
<th:block th:replace="~{:: categories (category.children)}"/>
<th:block th:replace="~{:: categories (${category.children})}"/>
</ul>
</li>
</th:block>