bx-865-apps #1

Merged
ksenia_mikhailova merged 140 commits from bx-865-apps into main 2024-06-27 15:03:27 +03:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit b76f9655bc - Show all commits

View File

@ -19,7 +19,6 @@ const startToEndPath = ref()
const plan = useFloorplanStore() const plan = useFloorplanStore()
const paths = ref<PathItem[]>([]) const paths = ref<PathItem[]>([])
const pathFinderProcess = ref(false)
const finder = new PF.DijkstraFinder(); const finder = new PF.DijkstraFinder();
const newDraw = () => { const newDraw = () => {

View File

@ -20,7 +20,7 @@ export const useFloorplanStore = defineStore('floorplan', {
this.np_array = data.np_field this.np_array = data.np_field
this.prepared_array = [...chunks(data.np_field, this.chunkSize)].map(line => { this.prepared_array = [...chunks(data.np_field, this.chunkSize)].map(line => {
const line_data = [] as any[][] 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) => { item.map((one_line, k) => {
if (!line_data[k]) line_data[k] = [] if (!line_data[k]) line_data[k] = []
line_data[k].push(...one_line) line_data[k].push(...one_line)