diff --git a/pages/index/index.vue b/pages/index/index.vue index c4a778b..cafbd7b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -204,7 +204,11 @@ onShow(() => { initData(); }); -const handleLoginSuccess = () => { +const handleLoginSuccess = async () => { + currentPage.value = 1; + hasMore.value = true; + await loadCategories(); + await loadTopicList(currentCategoryId.value, currentPage.value); }; // 下拉刷新