避难所

This commit is contained in:
wzy-warehouse
2026-04-18 20:10:54 +08:00
parent 0921f07593
commit b7d300e1e9
14 changed files with 270 additions and 5 deletions
+14 -1
View File
@@ -29,5 +29,18 @@ export const useLayerControl = () => {
useStatusStore().poiLayers.showDangerSource.loading = true;
};
return { clickHiddenDangerPoint, clickHospital, clickDangerousSource };
/**
* 点击显示避难所
*/
const clickEmergencyShelter = () => {
// 加载状态为true
useStatusStore().poiLayers.showRefugeeShelter.loading = true;
};
return {
clickHiddenDangerPoint,
clickHospital,
clickDangerousSource,
clickEmergencyShelter,
};
};