修复导览楼层切换点位错层

This commit is contained in:
lyf
2026-06-30 20:10:18 +08:00
parent e3682ed3ec
commit 2376923915
4 changed files with 457 additions and 35 deletions

View File

@@ -528,7 +528,7 @@ const loadGuideFloors = async () => {
const floors = await guideUseCase.getFloors()
guideFloors.value = floors
activeGuideFloor.value = floors.find((floor) => floor.label === activeGuideFloor.value)?.label
|| floors.find((floor) => floor.id === 'L1')?.label
|| floors.find((floor) => floor.label === '1F')?.label
|| floors[0]?.label
|| activeGuideFloor.value
} catch (error) {