fix: index page
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user