From c147f153b9a6ea72d24ae16b58822fd9a5fce137 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 25 May 2022 16:25:17 +0800 Subject: [PATCH] bug --- src/saas/AppCountryAlbum/AlbumDetail.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/saas/AppCountryAlbum/AlbumDetail.vue b/src/saas/AppCountryAlbum/AlbumDetail.vue index dea8115e..afc18246 100644 --- a/src/saas/AppCountryAlbum/AlbumDetail.vue +++ b/src/saas/AppCountryAlbum/AlbumDetail.vue @@ -137,9 +137,9 @@ }, getTotalInfo (id) { - this.$http.post(`/api/appalbumphoto/photoDetail?id=${id}&size=1000`).then(res => { + this.$http.post(`/api/appalbumphoto/photoDetail?id=${id}`).then(res => { if (res.code === 0) { - this.totalInfo = res.data.records + this.totalInfo = res.data } }) }, @@ -162,9 +162,9 @@ }, getList () { - this.$http.post(`/api/appalbumphoto/DetailByAlbumID?albumId=${this.id}`).then(res => { + this.$http.post(`/api/appalbumphoto/DetailByAlbumID?albumId=${this.id}&size=1000`).then(res => { if (res.code === 0) { - this.list = res.data + this.list = res.data.records if (res.data.length) { this.coverImg = res.data[0].photoUrl