From bce6393a4e68569c0360dbf6beefe9ee02895c99 Mon Sep 17 00:00:00 2001 From: water_xu Date: Mon, 5 Aug 2024 15:54:56 +0800 Subject: [PATCH] revert ee3ea210ea4c25463b9611e1712aea4687f50abb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revert 相关方 - 相关方安全告知培训合格证头像对接目前后端格式 --- src/views/classMessage/classMessage/components/user.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/classMessage/classMessage/components/user.vue b/src/views/classMessage/classMessage/components/user.vue index a9d655d..ac90c53 100644 --- a/src/views/classMessage/classMessage/components/user.vue +++ b/src/views/classMessage/classMessage/components/user.vue @@ -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 } },