wangliang_wd

feat:优化人民号关注上拉刷新问题

... ... @@ -404,6 +404,7 @@ export struct PeopleShipMainComponent {
return
}
this.isLoading = true
this.pageModel.isLoading = true
try {
// 获取列表数据
let listData = await PeopleShipMainViewModel.getAttentionContentListInfo(this.currentPage, 20, this.loadTime)
... ... @@ -424,9 +425,10 @@ export struct PeopleShipMainComponent {
this.pageModel.hasMore = false
this.resolveEnd(true, resolve)
}
this.pageModel.isLoading = false
} catch (exception) {
this.resolveEnd(false, resolve)
this.pageModel.isLoading = false
}
}
... ...