diff --git a/front/src/components/Floorplan.vue b/front/src/components/Floorplan.vue index 87108ae..3225c06 100644 --- a/front/src/components/Floorplan.vue +++ b/front/src/components/Floorplan.vue @@ -19,7 +19,6 @@ const startToEndPath = ref() const plan = useFloorplanStore() const paths = ref([]) -const pathFinderProcess = ref(false) const finder = new PF.DijkstraFinder(); const newDraw = () => { diff --git a/front/src/stores/floorplan.ts b/front/src/stores/floorplan.ts index abb41c6..b11e581 100644 --- a/front/src/stores/floorplan.ts +++ b/front/src/stores/floorplan.ts @@ -20,7 +20,7 @@ export const useFloorplanStore = defineStore('floorplan', { this.np_array = data.np_field this.prepared_array = [...chunks(data.np_field, this.chunkSize)].map(line => { const line_data = [] as any[][] - line.map((item: any) => [...chunks(item, this.chunkSize)]).map((item, j) => { + line.map((item: any) => [...chunks(item, this.chunkSize)]).map((item) => { item.map((one_line, k) => { if (!line_data[k]) line_data[k] = [] line_data[k].push(...one_line)