Jelajahi Sumber

添加判断

wolyshaw 4 tahun lalu
induk
melakukan
3c10e315d1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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"