Browse Source

feat :+1:

jinx 10 months ago
parent
commit
1aef47e6ed

+ 0 - 1
packages/qjkankan-editor/src/Store/modules/base.js

@@ -316,7 +316,6 @@ export default {
         //   console.error(state.sceneList);
         //   console.error(state.sceneList);
         // }
         // }
       }
       }
-      console.error(state.baseInfo.firstScene);
     },
     },
   },
   },
   actions: {
   actions: {

+ 0 - 7
packages/qjkankan-editor/src/Store/modules/hotspot.js

@@ -93,7 +93,6 @@ export default {
       let hotspots = rootState.base.baseInfo.workHotList;
       let hotspots = rootState.base.baseInfo.workHotList;
       if (hotspots.length && !state.hotspotList.length) {
       if (hotspots.length && !state.hotspotList.length) {
         state.hotspotList = hotspots;
         state.hotspotList = hotspots;
-        console.error(state.hotspotList);
       }
       }
       if (state.hotspotList.length) {
       if (state.hotspotList.length) {
         state.hotspotList.forEach((item, index) => {
         state.hotspotList.forEach((item, index) => {
@@ -159,12 +158,10 @@ export default {
   },
   },
   mutations: {
   mutations: {
     SetHotspot(state, data) {
     SetHotspot(state, data) {
-      console.error(data);
       state.hotspot = data;
       state.hotspot = data;
       this.commit("BackupHotSpot", browser.CloneObject(data));
       this.commit("BackupHotSpot", browser.CloneObject(data));
     },
     },
     updateHotspot(state, payload) {
     updateHotspot(state, payload) {
-      console.error(payload.id);
       if (payload.id) {
       if (payload.id) {
         // 编辑
         // 编辑
         state.hotspotList.forEach((item, index) => {
         state.hotspotList.forEach((item, index) => {
@@ -183,13 +180,11 @@ export default {
         state.hotspotList.push(payload);
         state.hotspotList.push(payload);
       }
       }
 
 
-      console.error(state.hotspotList);
     },
     },
     processData(state, payload) {
     processData(state, payload) {
       // state.hotspot.content = {};
       // state.hotspot.content = {};
       let list = state.hotspotList;
       let list = state.hotspotList;
       list.forEach((item) => {
       list.forEach((item) => {
-        console.error(item);
         if (!item.content) {
         if (!item.content) {
           item.content = {};
           item.content = {};
         }
         }
@@ -216,7 +211,6 @@ export default {
           delete item[value];
           delete item[value];
         }
         }
       });
       });
-      console.error(state.hotspotList, list);
     },
     },
   },
   },
   actions: {
   actions: {
@@ -275,7 +269,6 @@ export default {
           return hasTag;
           return hasTag;
         });
         });
       }
       }
-      console.error(state.hotspotList, list);
       // $waiting.hide();
       // $waiting.hide();
       // return;
       // return;
       let data = { list, workId: rootState.base.baseInfo.workId };
       let data = { list, workId: rootState.base.baseInfo.workId };

+ 0 - 1
packages/qjkankan-editor/src/Store/modules/mask.js

@@ -91,7 +91,6 @@ export default {
           }
           }
         }
         }
       });
       });
-      console.error(state.workCustomMaskList);
     },
     },
     setData(state, payload) {},
     setData(state, payload) {},
   },
   },

+ 1 - 2
packages/qjkankan-editor/src/Store/modules/navigation.js

@@ -32,7 +32,6 @@ export default {
       for (let key in payload) {
       for (let key in payload) {
         state[key] = payload[key];
         state[key] = payload[key];
       }
       }
-      console.error(payload);
     },
     },
   },
   },
   actions: {
   actions: {
@@ -97,7 +96,7 @@ export default {
                 resolve();
                 resolve();
                 if (state.saveFristScene) {
                 if (state.saveFristScene) {
                   let data = {};
                   let data = {};
-                  console.error("有当前场景", rootState.base.baseInfo.firstScene);
+                  // console.error("有当前场景", rootState.base.baseInfo.firstScene);
                   if (rootState.base.baseInfo.firstScene) {
                   if (rootState.base.baseInfo.firstScene) {
                     let firstScene = rootState.base.sceneList.find((item) => item.sceneCode == rootState.base.baseInfo.firstScene.sceneCode);
                     let firstScene = rootState.base.sceneList.find((item) => item.sceneCode == rootState.base.baseInfo.firstScene.sceneCode);
                     if (firstScene) {
                     if (firstScene) {