bx-865-apps #1
|
@ -19,7 +19,6 @@ const startToEndPath = ref()
|
|||
const plan = useFloorplanStore()
|
||||
const paths = ref<PathItem[]>([])
|
||||
|
||||
const pathFinderProcess = ref(false)
|
||||
const finder = new PF.DijkstraFinder();
|
||||
|
||||
const newDraw = () => {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue