|
@@ -193,7 +193,7 @@
|
|
// this.reportDetails = res.data;
|
|
// this.reportDetails = res.data;
|
|
// this.fileList = res.data.imgList;
|
|
// this.fileList = res.data.imgList;
|
|
let imgList = res.data.imgList;
|
|
let imgList = res.data.imgList;
|
|
- if(imgList.length>0){
|
|
|
|
|
|
+ if(imgList&&imgList.length>0){
|
|
this.fileList=imgList.map(img=>{
|
|
this.fileList=imgList.map(img=>{
|
|
return {url:img}
|
|
return {url:img}
|
|
})
|
|
})
|