jinx 5 months ago
parent
commit
f34004e119
1 changed files with 3 additions and 2 deletions
  1. 3 2
      packages/qjkankan-editor/src/framework/EditorHead.vue

+ 3 - 2
packages/qjkankan-editor/src/framework/EditorHead.vue

@@ -96,6 +96,7 @@ export default {
       saveApiList: "scene/saveApiList",
       saveApiList: "scene/saveApiList",
       currentRootId: "navigation/currentRootId",
       currentRootId: "navigation/currentRootId",
       currentSecondId: "navigation/currentSecondId",
       currentSecondId: "navigation/currentSecondId",
+      hotspotList: "hotspot/hotspotList",
     }),
     }),
 
 
     info() {
     info() {
@@ -323,8 +324,8 @@ export default {
       //     }
       //     }
       //   });
       //   });
       // }
       // }
-      if (this.baseInfo && this.baseInfo.workHotList && this.baseInfo.workHotList.length > 0) {
-        this.lockHotspotResourceTree(this.baseInfo.workHotList);
+      if (this.baseInfo && this.hotspotList && this.hotspotList.length > 0) {
+        this.lockHotspotResourceTree(this.hotspotList);
       }
       }
 
 
       //开场校验
       //开场校验