bug
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
isShow: false,
|
||||
list: [],
|
||||
currIndex: 0,
|
||||
isAdmin: false,
|
||||
albumList: []
|
||||
}
|
||||
},
|
||||
@@ -70,6 +71,7 @@
|
||||
},
|
||||
|
||||
onLoad (query) {
|
||||
this.isAdmin = !!this.$store.state.user.adminAuthType
|
||||
this.id = query.id
|
||||
this.getAlbumList()
|
||||
|
||||
@@ -80,7 +82,13 @@
|
||||
|
||||
methods: {
|
||||
getList () {
|
||||
this.$http.post(`/api/appalbumphoto/DetailByAlbumID?albumId=${this.id}&pageSize=100000`).then(res => {
|
||||
this.$http.post(`/api/appalbumphoto/DetailByAlbumID`, null, {
|
||||
params: {
|
||||
albumId: this.id,
|
||||
pageSize: 100000,
|
||||
userId: this.isAdmin ? '' : this.$store.state.user.openId
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.list = res.data.records.map(v => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user