gcz 2 роки тому
батько
коміт
4348607350
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      pages/report/report.vue

+ 1 - 1
pages/report/report.vue

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