소스 검색

故障诊断bug

chenminghua 3 년 전
부모
커밋
c3b9d96b82
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/views/MalfunctionWarning/supervised.vue

+ 1 - 2
src/views/MalfunctionWarning/supervised.vue

@@ -316,7 +316,6 @@ export default {
     this.accuracyList.accuracy = dataList.accuracy;
     this.accuracyList.val_accuracy = dataList.val_accuracy;
     this.barList = dataList.bar;
-    this.getFaultList();
     this.getType();
   },
   methods: {
@@ -327,8 +326,8 @@ export default {
         subUrl: "http://192.168.1.18:9002/know/fault/type/all",
         success(res) {
           if (res) {
-            console.log(444444444);
             that.faultLists = res.data;
+            that.getFaultList();
           }
         },
       });