From a8e858de3de5ac3f03f87aa0564e8d0334b4eb24 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Fri, 22 Mar 2024 08:58:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E4=BC=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/investigat/InvestigatPage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/investigat/InvestigatPage.vue b/src/views/investigat/InvestigatPage.vue index 66c4291..bbb61a8 100644 --- a/src/views/investigat/InvestigatPage.vue +++ b/src/views/investigat/InvestigatPage.vue @@ -2,8 +2,8 @@
-
-
项目名称:{{ data.projectInfoList[0].projectName }}
+
+
项目名称:{{ data?.projectInfoList.length ==0 ? '' : data?.projectInfoList[0].projectName }}
开课名称:{{ data.projectInfoList[0].courseName }}
培训讲师:{{ data.projectInfoList.map(item => item.teacherName).join(',') }}