소스 검색

提交请假管理失效的问题

Lijy 3 달 전
부모
커밋
b6e9675fe8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fhKeeper/formulahousekeeper/timesheet/src/views/leave/list.vue

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/leave/list.vue

@@ -317,7 +317,7 @@
                 </el-table-column>
                 <el-table-column label="相关凭证" min-width="200">
                   <template slot-scope="scope">
-                    <el-button type="primary" size="mini" v-if="scope.row.fileUrlsList.length && scope.row.fileUrlsList[0].name" @click="clickToViewTheImage(scope.row.fileUrlsList)">点击查看</el-button>
+                    <el-button type="primary" size="mini" v-if="scope.row.fileUrlsList && scope.row.fileUrlsList.length && scope.row.fileUrlsList[0].name" @click="clickToViewTheImage(scope.row.fileUrlsList)">点击查看</el-button>
                   </template>
                 </el-table-column>
                 <el-table-column :label="$t('operation')" min-width="180" fixed="right" v-if="isAuditList && !isSyncData">