YaolongHan il y a 4 ans
Parent
commit
940e2326fb
2 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 4 3
      src/components/mapClass/editScence.ts
  2. 1 0
      vue.config.js

+ 4 - 3
src/components/mapClass/editScence.ts

@@ -1,5 +1,5 @@
 import { SMouseEvent, SUndoStack } from "@saga-web/base";
-import { SGraphScene, SGraphyItem } from '@saga-web/graph/lib';
+import { SGraphScene } from '@saga-web/graph/lib';
 import { SPoint } from '@saga-web/draw/lib';
 import { SFloorParser, SImageItem, STextItem, SLineItem, SPolylineItem, SItemStatus, ItemOrder } from "@saga-web/big";
 import { SGraphItem, SGraphPointListInsert, SGraphPointListDelete, SGraphPointListUpdate, SGraphAddCommand } from "@saga-web/graph/lib";
@@ -32,13 +32,14 @@ export class EditScence extends SGraphScene {
             // 取消操作
             this.focusItem.cancelOperate();
             this.focusItem = null;
+            // this.selectContainer.
         }
         if (this.view) {
             this.view.update();
         }
     };
     /** 当前选中焦点Item */
-    focusItem: SGraphyItem | null = null;
+    focusItem: SGraphItem | null = null;
 
     constructor() {
         super();
@@ -149,7 +150,7 @@ export class EditScence extends SGraphScene {
     /**
      * 对齐指定item
      */
-    alignItem(type, itemList): void {
+    alignItem(): void {
 
     }
 

+ 1 - 0
vue.config.js

@@ -25,4 +25,5 @@ module.exports = {
             .use('vue-svg-loader')
             .loader('vue-svg-loader');
     },
+    lintOnSave: false
 }