Ver Fonte

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

yusheng há 2 meses atrás
pai
commit
aa82d79fd4
1 ficheiros alterados com 1 adições e 1 exclusões
  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;