1
0
miroir de https://github.com/ialley-workshop-open/uni-halo.git synchronisé 2026-06-12 21:29:31 +08:00

fix: 修复首页加载异常问题

Cette révision appartient à :
小莫唐尼
2024-05-22 00:43:24 +08:00
Parent f6069cad95
révision 512a4013b9
16 fichiers modifiés avec 366 ajouts et 62 suppressions
+3 -3
Voir le fichier
@@ -81,7 +81,7 @@
},
isLoadMore: false,
loadMoreText: '',
result: {},
hasNext: false,
dataList: []
};
},
@@ -101,7 +101,7 @@
this.fnGetData();
},
onReachBottom(e) {
if (this.result.hasNext) {
if (this.hasNext) {
this.queryParams.page += 1;
this.isLoadMore = true;
this.fnGetData();
@@ -150,7 +150,7 @@
.getPhotoListByGroupName(this.queryParams)
.then(res => {
console.log("相册 res", res)
this.result = res;
this.hasNext = res.hasNext;
this.loading = 'success';
if (res.items.length != 0) {
const _list = res.items.map((item, index) => {