From dd80abed022a99cf236540580841bb3d7213b7bc Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 23 Jul 2025 14:31:22 +0800 Subject: [PATCH] 1 --- .../trials-panel/trial-summary/audit-record/index.vue | 10 ++++++++-- 1 file changed, 8 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 f1c4f423..d053404c 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 @@ -868,12 +868,18 @@ export default { let objArr = [], upObjArr = [] if (obj[v.Code] && obj[v.Code].length > 0) { obj[v.Code].forEach(item => { - objArr.push(item[v.ChildDataValue]) + if (item[v.ChildDataValue]) { + objArr.push(item[v.ChildDataValue]) + } + }) } if (upObj[v.Code] && upObj[v.Code].length > 0) { upObj[v.Code].forEach(item => { - upObjArr.push(item[v.ChildDataValue]) + if (item[v.ChildDataValue]) { + upObjArr.push(item[v.ChildDataValue]) + } + }) } if (obj[v.Code]) {