bug
This commit is contained in:
@@ -196,6 +196,10 @@
|
|||||||
this.list = res.data.records
|
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) {
|
if (res.data.records.length < 10) {
|
||||||
this.isMore = true
|
this.isMore = true
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
@@ -204,10 +208,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.current = this.current + 1
|
this.current = this.current + 1
|
||||||
|
|
||||||
if (res.data.records.length && !this.coverImg) {
|
|
||||||
this.coverImg = res.data.records[0].photoUrl
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
|||||||
Reference in New Issue
Block a user