revert 相关方 - 相关方安全告知培训合格证头像对接目前后端格式
liujun-2024-09-04-九公司人员定位
water_xu 2024-08-05 15:54:56 +08:00
parent ee3ea210ea
commit bce6393a4e
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ export default {
})
},
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
}
},