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"