GaoYuPeng 3 年 前
コミット
d37baea7b7
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/newFacilities/index.vue

+ 1 - 1
shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/newFacilities/index.vue

@@ -17,7 +17,7 @@
17 17
       </el-table-column>
18 18
       <el-table-column prop="checkTime" label="最近记录时间" align="center">
19 19
         <template slot-scope="scope">
20
-         <span>{{ scope.row.checkTime.slice(0,16) }}</span>
20
+         <span>{{ scope.row.checkTime == null?scope.row.checkTime:scope.row.checkTime.slice(0,16) }}</span>
21 21
         </template>
22 22
       </el-table-column>
23 23
       <el-table-column prop="checkState" label="状态" align="center">