|
|
@ -11,7 +11,7 @@ export const useInitMap = async function () { |
|
|
const { data } = await getMapData() |
|
|
const { data } = await getMapData() |
|
|
const delPrefixOfFacilityList = facilityList.value.map(item => ({ |
|
|
const delPrefixOfFacilityList = facilityList.value.map(item => ({ |
|
|
...item, |
|
|
...item, |
|
|
filePath: item.filePath.replace(PREFIX.STATIC_URL, '') |
|
|
|
|
|
|
|
|
filePath: item.filePath?.replace(PREFIX.STATIC_URL, '') |
|
|
})) |
|
|
})) |
|
|
|
|
|
|
|
|
//初始化地图
|
|
|
//初始化地图
|
|
|
|