bianjiang 1 tahun lalu
induk
melakukan
de34ec1d0f

+ 6 - 8
src/modules/editor/controllers/PageCtrl/index.ts

@@ -1,16 +1,14 @@
+import { eachValuesAndPathsDeep } from "@/utils";
+import { set } from "lodash";
+import { nanoid } from "nanoid";
 import { ModuleControl } from "queenjs";
-import { onMounted, ref } from "vue";
+import { CompPageObj } from "../../components/CompUI/basicUI/Page";
 import { EditorModule } from "../../module";
-import { RxValue } from "../ReactCtrl/rxValue";
-import { ObjsContainer } from "../SelectCtrl/ObjsContainer";
 import { DesignTemp } from "../../objects/DesignTemp";
-import { CompPageObj } from "../../components/CompUI/basicUI/Page";
+import { DesignComp } from "../../objects/DesignTemp/DesignComp";
 import { createObj, history } from "../../objects/DesignTemp/factory";
 import { ICompKeys } from "../../typings";
-import { DesignComp } from "../../objects/DesignTemp/DesignComp";
-import { nanoid } from "nanoid";
-import { eachValuesAndPathsDeep } from "@/utils";
-import { set } from "lodash";
+import { RxValue } from "../ReactCtrl/rxValue";
 
 
 export class PageCtrl extends ModuleControl<EditorModule> {

+ 3 - 7
src/modules/editor/module/actions/edit.tsx

@@ -1,17 +1,13 @@
-import { cloneDeep, pick } from "lodash";
-import { nanoid } from "nanoid";
+import { pick } from "lodash";
 import { Exception, queenApi } from "queenjs";
 import { EditorModule } from "..";
 import { ScreenshotCtrl } from "../../controllers/ScreenshotCtrl";
-import { ObjsContainer } from "../../controllers/SelectCtrl/ObjsContainer";
 import { CompObject } from "../../controllers/SelectCtrl/compObj";
 import { Matrix } from "../../controllers/SelectCtrl/matrix";
+import { DesignTemp } from "../../objects/DesignTemp";
 import { DesignComp } from "../../objects/DesignTemp/DesignComp";
-import { ICompKeys, Layout } from "../../typings";
-import CompSave from "../../components/CompSave";
-import { getKeyThenIncreaseKey } from "ant-design-vue/lib/message";
 import { cloneObj, createObj, history } from "../../objects/DesignTemp/factory";
-import { DesignTemp } from "../../objects/DesignTemp";
+import { ICompKeys } from "../../typings";
 
 const ctrlState = {
   selected: [] as string[],