From a56b536e955cf6925f216caf9f8991bdf27dabf6 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 25 Jul 2025 14:42:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E7=BB=84=E5=9B=BE=E7=89=87=E7=A8=BD?= =?UTF-8?q?=E6=9F=A5=E6=A0=A1=E9=AA=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials/trials-panel/trial-summary/audit-record/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue index d053404c..88d65784 100644 --- a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue +++ b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue @@ -866,7 +866,7 @@ export default { // 数组图片 if (v.DataType === 'ArrayImage') { let objArr = [], upObjArr = [] - if (obj[v.Code] && obj[v.Code].length > 0) { + if (obj && obj[v.Code] && obj[v.Code].length > 0) { obj[v.Code].forEach(item => { if (item[v.ChildDataValue]) { objArr.push(item[v.ChildDataValue]) @@ -874,7 +874,7 @@ export default { }) } - if (upObj[v.Code] && upObj[v.Code].length > 0) { + if (upObj && upObj[v.Code] && upObj[v.Code].length > 0) { upObj[v.Code].forEach(item => { if (item[v.ChildDataValue]) { upObjArr.push(item[v.ChildDataValue])