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(',') }}