显示学校

This commit is contained in:
wzy-warehouse
2026-04-21 20:56:25 +08:00
parent 89d6313542
commit 16d049d082
16 changed files with 326 additions and 8 deletions
+13
View File
@@ -84,6 +84,14 @@ export const useLoadingInformationStore = defineStore(
id: -1,
});
// ============================== 学校状态 ================================
const school = reactive({
/** 加载状态 */
loading: false,
/** 学校ID */
id: -1,
});
/**
* 重置所有状态
*/
@@ -119,6 +127,10 @@ export const useLoadingInformationStore = defineStore(
// 物资储备点状态重置
storePoints.loading = false;
storePoints.id = -1;
// 学校状态重置
school.loading = false;
school.id = -1;
};
return {
@@ -130,6 +142,7 @@ export const useLoadingInformationStore = defineStore(
emergencyShelter,
fireStation,
storePoints,
school,
resetStatue,
};
}