parent
ee3ea210ea
commit
bce6393a4e
|
@ -134,7 +134,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getShowPicture(row) {
|
getShowPicture(row) {
|
||||||
if (row.PHOTO && row.PHOTO != '' ) {
|
if (row.PHOTO && row.PHOTO !== '' && (row.PHOTO.indexOf('.jpg') >= 0 || row.PHOTO.indexOf('.png') >= 0 || row.PHOTO.indexOf('.jpeg') >= 0)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue