fix: index page
This commit is contained in:
@@ -337,11 +337,10 @@ onReachBottom(() => {
|
||||
});
|
||||
|
||||
onPullDownRefresh(async () => {
|
||||
await fetchRecommendList(true);
|
||||
setTimeout(() => {
|
||||
updateCountdown();
|
||||
await Promise.all([fetchRecommendList(true), getRandomGreetingText()]);
|
||||
uni.stopPullDownRefresh();
|
||||
uni.showToast({ title: "已为你更新内容", icon: "success" });
|
||||
}, 600);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user