diff --git a/src/assets/404_images/404test.jpg b/src/assets/404_images/404test.jpg
index a316658..d0c108a 100644
Binary files a/src/assets/404_images/404test.jpg and b/src/assets/404_images/404test.jpg differ
diff --git a/src/views/data/photo/index.vue b/src/views/data/photo/index.vue
index 415f1db..f28af5e 100644
--- a/src/views/data/photo/index.vue
+++ b/src/views/data/photo/index.vue
@@ -45,9 +45,9 @@
@@ -118,8 +118,6 @@ export default {
open: false,
showImg : '',
srcList:[],
- //默认图片
- defaultImg:errorImg,
}
},
@@ -138,11 +136,14 @@ export default {
queryPhotoList(this.queryParams).then(response=>{
this.currdataList=response.data;
this.total=response.count;
- this.currdataList.foreach((e,index)=>{
- if(e.imgUrl==''&& e.imgUrl==null){
- e.imgUrl=this.defaultImg
+ this.currdataList.forEach(function(e,index){
+ if(e.imgName=='' ||e.imgName==null){
+
+ e.imgName=errorImg
}else{
- e.imgUrl='https://www.huastech.com.cn/'+e.imgUrl
+
+ e.imgName='https://www.huastech.com.cn'+e.imgName
+
}
})
this.loading = false;