瀏覽代碼

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;