wolyshaw пре 4 година
родитељ
комит
3c10e315d1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/teamDetail/componentCourse/teacherList.vue

+ 1 - 1
src/views/teamDetail/componentCourse/teacherList.vue

@@ -91,7 +91,7 @@
                        label="签退照片">
         <template slot-scope="scope">
           <el-image
-            v-if="scope.row.teacherAttendance.signOutAttachments"
+            v-if="scope.row.teacherAttendance && scope.row.teacherAttendance.signOutAttachments"
             style="width: 60px; height: 60px"
             fit="cover"
             :src="scope.row.teacherAttendance.signOutAttachments"