修复首页文章加载形式为 加载 时,总文章数量小于文章列表显示条数,点击查看更多会导致重复加载文章
This commit is contained in:
parent
75ba9dc223
commit
27b4387db7
|
@ -53,7 +53,7 @@
|
|||
<th:block th:if="${!theme.config.home.enable_index_list_ajax}">
|
||||
<th:block th:replace="~{modules/common/pagination :: pagination}" />
|
||||
</th:block>
|
||||
<th:block th:if="${theme.config.home.enable_index_list_ajax}">
|
||||
<th:block th:if="${posts.hasNext()}">
|
||||
<div class="joe_load_container"
|
||||
th:with="nextPage = ${posts.totalPages == posts.page?'':posts.nextUrl}">
|
||||
<div class="joe_load" th:data-next="@{${nextPage}}">查看更多 </div>
|
||||
|
|
Loading…
Reference in New Issue