|
@@ -66,7 +66,7 @@ export default {
|
|
|
imgError: ''
|
|
|
})
|
|
|
this.http.uploadFile(`/gcp-show/uploadAndSave`, formData, res => {
|
|
|
- this.fileList[i].url = checkAndAddUpload(res.data.url)
|
|
|
+ this.fileList[i].url = checkAndAddUpload(res.data.coverUrl)
|
|
|
this.fileList[i].name = res.data.id
|
|
|
this.fileList[i].loading = false
|
|
|
}, err => {
|
|
@@ -120,7 +120,7 @@ export default {
|
|
|
this.fileList = res.data.map(item => {
|
|
|
return {
|
|
|
name: item.id,
|
|
|
- url: checkAndAddUpload(item.url),
|
|
|
+ url: checkAndAddUpload(item.coverUrl),
|
|
|
loading: false,
|
|
|
imgError: ''
|
|
|
}
|