bug
This commit is contained in:
@@ -179,6 +179,8 @@
|
|||||||
|
|
||||||
getList () {
|
getList () {
|
||||||
if (this.isMore) return
|
if (this.isMore) return
|
||||||
|
|
||||||
|
this.$loading()
|
||||||
this.$http.post(`/api/appalbumphoto/DetailByAlbumID`, null, {
|
this.$http.post(`/api/appalbumphoto/DetailByAlbumID`, null, {
|
||||||
params: {
|
params: {
|
||||||
albumId: this.id,
|
albumId: this.id,
|
||||||
@@ -196,6 +198,7 @@
|
|||||||
|
|
||||||
if (res.data.records.length < 10) {
|
if (res.data.records.length < 10) {
|
||||||
this.isMore = true
|
this.isMore = true
|
||||||
|
uni.hideLoading()
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@@ -206,6 +209,8 @@
|
|||||||
this.coverImg = res.data.records[0].photoUrl
|
this.coverImg = res.data.records[0].photoUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uni.hideLoading()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user