From 1038d9478039695259dff35ae3eff26b95b55761 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期五, 23 五月 2025 18:04:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/dnc/base/modules/DeviceStructure/DeviceStructureTree.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureTree.vue b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureTree.vue
index 3003661..41d4ac9 100644
--- a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureTree.vue
+++ b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureTree.vue
@@ -242,7 +242,7 @@
      * @param treeNode
      */
     setTreeNodeIcon(treeNode) {
-      if (!treeNode.equipmentId) {
+      if (+treeNode.type === 1) {
         treeNode.slots = { icon: 'workshop' }
       } else {
         treeNode.slots = { icon: 'device' }

--
Gitblit v1.9.3