下拉刷新bug

This commit is contained in:
BAKEYi 2026-06-02 15:08:56 +08:00
parent fc78b157a9
commit 85fbbd0990
1 changed files with 14 additions and 0 deletions

View File

@ -341,6 +341,20 @@ export default {
this.fetchBrandList();
this.fetchSkillList();
},
onPullDownRefresh() {
// 1.
if (this.isLogin) {
this.getUserInfo();
}
this.fetchNoticeList();
this.fetchBrandList();
this.fetchSkillList();
// 2.
setTimeout(() => {
uni.stopPullDownRefresh();
}, 500);
},
onLoad() {
uni.hideTabBar();
},