bill hace 1 año
padre
commit
6c31206544
Se han modificado 1 ficheros con 0 adiciones y 45 borrados
  1. 0 45
      src/app/liantong/index.ts

+ 0 - 45
src/app/liantong/index.ts

@@ -40,54 +40,9 @@ export type CopyProps = {
   dire?: number[];
 };
 
-const temp = {
-  rooms: [
-    {
-      id: "0",
-      points: [
-        { x: -4.158378227724868, y: -1.9303326184126997, id: "2" },
-        { x: -0.8163098137566145, y: -2.4105148617989434, id: "3" },
-        { x: -0.7586879445502657, y: 0.3169202806349194, id: "4" },
-        { x: -3.826915381847119, y: 0.3766487888964334, id: "5" },
-        { x: -15.327417208888889, y: -12.36848245920904, id: "6" },
-        { x: -9.104255334603174, y: -12.36848245920904, id: "7" },
-        { x: -9.104255334603174, y: -9.671413113728732, id: "8" },
-        { x: -0.941157197037036, y: -9.671413113728732, id: "9" },
-        { x: -0.9411571970370356, y: -7.098550909158703, id: "10" },
-        { x: -8.681694960423279, y: -7.098550909158701, id: "11" },
-        { x: -15.327417208888885, y: -14.869918864249149, id: "12" },
-        { x: -9.008218885925924, y: -14.869918864249149, id: "13" },
-        { x: -9.008218885925924, y: -10.44256591441262, id: "14" },
-        { x: -1.2484738328042297, y: -10.44256591441262, id: "15" },
-      ],
-      polygons: [
-        { id: "2", lineIds: ["2", "3", "4", "5"] },
-        { id: "3", lineIds: ["6", "7", "8", "9", "10"] },
-        { id: "4", lineIds: ["11", "12", "13"] },
-      ],
-      lines: [
-        { id: "2", pointIds: ["2", "3"] },
-        { id: "3", pointIds: ["3", "4"] },
-        { id: "4", pointIds: ["4", "5"] },
-        { id: "5", pointIds: ["5", "2"] },
-        { id: "6", pointIds: ["6", "7"] },
-        { id: "7", pointIds: ["7", "8"] },
-        { id: "8", pointIds: ["8", "9"] },
-        { id: "9", pointIds: ["9", "10"] },
-        { id: "10", pointIds: ["10", "11"] },
-        { id: "11", pointIds: ["12", "13"] },
-        { id: "12", pointIds: ["13", "14"] },
-        { id: "13", pointIds: ["14", "15"] },
-      ],
-    },
-  ],
-  pois: [],
-};
-
 export const createBoard = (
   props: { dom?: HTMLDivElement; store?: Store } = {}
 ) => {
-  props.store = temp;
   const data = props.store || {
     rooms: [{ id: "0", points: [], polygons: [], lines: [] }],
     pois: [],