diff --git a/src/saas/AppCountryAlbum/AlbumDetail.vue b/src/saas/AppCountryAlbum/AlbumDetail.vue index ad86a63f..f67b742e 100644 --- a/src/saas/AppCountryAlbum/AlbumDetail.vue +++ b/src/saas/AppCountryAlbum/AlbumDetail.vue @@ -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()