This commit is contained in:
yanran200730
2022-05-25 16:25:17 +08:00
parent 684a0c5075
commit c147f153b9

View File

@@ -137,9 +137,9 @@
}, },
getTotalInfo (id) { 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) { if (res.code === 0) {
this.totalInfo = res.data.records this.totalInfo = res.data
} }
}) })
}, },
@@ -162,9 +162,9 @@
}, },
getList () { 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) { if (res.code === 0) {
this.list = res.data this.list = res.data.records
if (res.data.length) { if (res.data.length) {
this.coverImg = res.data[0].photoUrl this.coverImg = res.data[0].photoUrl