瀏覽代碼

feat : 保存6

gemercheung 10 月之前
父節點
當前提交
353e815042

+ 1 - 0
src/view/case/draw/board/editCAD/Load.js

@@ -187,6 +187,7 @@ export default class Load {
         }
         if (floor.bgImage.hasOwnProperty("width") && floor.bgImage.hasOwnProperty("height")) {
           bgImage.setResolution(floor.bgImage.width,floor.bgImage.height);
+          // debugger
         }
       }
       if (floor.noBoardFrame) {

+ 1 - 1
src/view/case/draw/board/useBoard.ts

@@ -110,7 +110,7 @@ const getStore = async (caseId: number, fileId: number, type: BoardType) => {
                 y: 140
               },
               // "image": {},
-              width: 600,
+              width: 565,
               height: 400,
               scale: 2,
               geoType: "BgImage",

+ 1 - 1
src/view/case/draw/index.vue

@@ -209,7 +209,7 @@ const exportHandler = async () => {
   border: calc(var(--padding) * var(--calc)) solid #fff;
 
   // &.isMedia {
-  //   --w: 347px;
+  //   --w: 315px;
   //   --h: 210px;
   // }
 }

+ 0 - 9
src/view/media/index.scss

@@ -82,14 +82,5 @@
     margin-top: 120px;
     height: 100%;
   }
-  // .sub-tab {
-  //   display: flex;
-  //   min-height: 100%;
-  //   flex-wrap: nowrap;
-  //   flex-direction: column;
-  // }
-  // :deep(.el-tabs__content) {
-  //   flex: 1;
-  // }
 
 }