فهرست منبع

删除debugger

yunxing 4 سال پیش
والد
کامیت
77cd1f42a8
2فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  1. 0 1
      src/components/editview/leftToolBar/editInfoPoint.vue
  2. 0 4
      src/views/home.vue

+ 0 - 1
src/components/editview/leftToolBar/editInfoPoint.vue

@@ -386,7 +386,6 @@ export default {
                     this[data].imgUrl = res ? res : "";
                 })
                 .catch((res) => {
-                    debugger;
                     this[data].imgUrl = res;
                 });
         },

+ 0 - 4
src/views/home.vue

@@ -452,7 +452,6 @@ export default {
                 if (confirmRes) {
                     console.log(DraftPlanarGraph);
                     const { folderId, buildingId, floorId, id, graphId, name, version } = DraftPlanarGraph;
-                    debugger
                     this.finalToEdit({ folderId, folderName, buildingId, floorId, floorLocalName, name, id, graphId, floorMap, version });
                 }
             } else {
@@ -462,14 +461,12 @@ export default {
                 if (readRes.result !== "success") {
                     this.$message(readRes.result);
                 }
-                debugger;
                 // 保存该图,在未发布中,生成一张草稿
                 const resSave = await planerSave(readRes.content);
                 // 取出新建图的版本号
                 if (resSave.result === "success") {
                     const resSaveData = resSave.entityList[0];
                     const { folderId, buildingId, floorId, name, id, graphId, version } = resSaveData;
-                    debugger
                     this.finalToEdit({ folderName, floorLocalName, folderId, buildingId, floorId, name, id, graphId, version, floorMap });
                 } else {
                     this.$message(resSave.result);
@@ -480,7 +477,6 @@ export default {
          * 点击已发布,最终跳转编辑器
          */
         finalToEdit(query) {
-            debugger;
             this.$router.push({ name: "Editer", query });
         },
         /**