linan-0110 4 년 전
부모
커밋
4b0b87b469
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/views/device/deviceFault.vue

+ 1 - 2
src/views/device/deviceFault.vue

@@ -21,7 +21,7 @@
                     <!-- <el-table-column prop="farmId" label="农场ID"></el-table-column> -->
                     <el-table-column label="安装日期">
                         <template v-slot="scope">
-                            <span>{{ scope.row['installTime'].substr(0,10) }}</span>
+                            <span>{{ scope.row['installTime'] }}</span>
                         </template>
                     </el-table-column>
                     <el-table-column prop="name" label="设备名称"></el-table-column>
@@ -232,7 +232,6 @@ export default {
                 });
         },
         pageChange(p) {
-            console.log(p);
             this.pageNum = p;
             // 设备故障列表
             this.getDvFaultList();