From d5d60b8d5df77bbee0a3bae51a0573673e314058 Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Thu, 5 Feb 2026 23:52:31 +0800 Subject: [PATCH] fix: index page --- pages/index/index.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index cf912ba..d5a3ec0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -337,11 +337,10 @@ onReachBottom(() => { }); onPullDownRefresh(async () => { - await fetchRecommendList(true); - setTimeout(() => { - uni.stopPullDownRefresh(); - uni.showToast({ title: "已为你更新内容", icon: "success" }); - }, 600); + updateCountdown(); + await Promise.all([fetchRecommendList(true), getRandomGreetingText()]); + uni.stopPullDownRefresh(); + uni.showToast({ title: "已为你更新内容", icon: "success" }); });