@ -9,6 +9,7 @@ export const useInitMap = function () {
Promise.all([getMap(), getFacilityList()])
.then(([{ data }, { data: facs }]) => {
facs = facs.map(fac => ({ ...fac, filePath: fac.navFilePath }))
store.SET_MAP_DATA(JSON.parse(data.mapData))
//初始化地图
onReady(store.currentFloor, data, store.shopList, facs, () => {