jinx пре 5 месеци
родитељ
комит
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",
       currentRootId: "navigation/currentRootId",
       currentSecondId: "navigation/currentSecondId",
+      hotspotList: "hotspot/hotspotList",
     }),
 
     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);
       }
 
       //开场校验