fix: index page

This commit is contained in:
zzc
2026-02-05 23:52:31 +08:00
parent d76269b154
commit d5d60b8d5d

View File

@@ -337,11 +337,10 @@ onReachBottom(() => {
}); });
onPullDownRefresh(async () => { onPullDownRefresh(async () => {
await fetchRecommendList(true); updateCountdown();
setTimeout(() => { await Promise.all([fetchRecommendList(true), getRandomGreetingText()]);
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
uni.showToast({ title: "已为你更新内容", icon: "success" }); uni.showToast({ title: "已为你更新内容", icon: "success" });
}, 600);
}); });
</script> </script>