bug
This commit is contained in:
@@ -61,9 +61,19 @@
|
|||||||
this.instance.post(`/app/appcontentinfo/queryDetailById?id=${id}`).then(res => {
|
this.instance.post(`/app/appcontentinfo/queryDetailById?id=${id}`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
this.info.pictureUrl = res.data.pictureUrl ? [{
|
this
|
||||||
url: res.data.pictureUrl
|
this.info = {
|
||||||
}] : []
|
...res.data,
|
||||||
|
pictureUrl: res.data.pictureUrl ? [{
|
||||||
|
url: res.data.pictureUrl
|
||||||
|
}] : [],
|
||||||
|
files: res.data.files.map(v => {
|
||||||
|
return {
|
||||||
|
...v,
|
||||||
|
postfix: v.postfix.toLowerCase()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user