jinx 7 달 전
부모
커밋
f34004e119
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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);
       }
       }
 
 
       //开场校验
       //开场校验