@@ -164,12 +164,8 @@
getWaitPhoto({deviceNo:deviceNo}).then(res=>{
this.loading = false
if(res.status==200) {
- if (res.data) {
- this.waitPhoto = res.data
- this.showPop=true
- } else {
- this.toashMsg('暂无数据')
- }
+ this.waitPhoto = res.data ? res.data : '/static/img/noPic.jpg'
+ this.showPop=true
}
})
},