bug
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user