This commit is contained in:
yanran200730
2022-05-26 10:07:45 +08:00
parent 62b75c37e4
commit e626c92c82

View File

@@ -196,6 +196,10 @@
this.list = res.data.records
}
if (res.data.records.length && !this.coverImg) {
this.coverImg = res.data.records[0].photoUrl
}
if (res.data.records.length < 10) {
this.isMore = true
uni.hideLoading()
@@ -204,10 +208,6 @@
}
this.current = this.current + 1
if (res.data.records.length && !this.coverImg) {
this.coverImg = res.data.records[0].photoUrl
}
}
uni.hideLoading()