소스 검색

fix: 修复设备监控数据处理逻辑

yusheng 2 달 전
부모
커밋
aa82d79fd4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/equipmentOperationMonitoring/index.vue

+ 1 - 1
src/views/equipmentOperationMonitoring/index.vue

@@ -260,7 +260,7 @@
             this.$refs.treeRef1.setCurrentKey(this.treeData[0].id);
           });
         }
-        if (data) {
+        if (data.id) {
           this.handleNodeClick(data);
         } else {
           this.total = 0;