wolyshaw 4 vuotta sitten
vanhempi
commit
3c10e315d1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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"