Browse Source

fix:网格

ananzhusen 3 weeks ago
parent
commit
c3daf1b52d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/views/components/FileProps.vue

+ 6 - 0
src/views/components/FileProps.vue

@@ -547,6 +547,12 @@ function openData() {
       },
     ];
   }
+  if(meta2d?.store?.options?.grid){
+    data.grid = meta2d.store.options.grid;
+    data.gridSize = meta2d.store.options?.gridSize;
+    data.gridColor = meta2d.store.options?.gridColor;
+    data.autoAlignGrid = meta2d.store.options?.autoAlignGrid;
+  }
 }
 function finishLine(e) {
   setTimeout(()=>{