添加地铁站

This commit is contained in:
zhuangzhuang2000
2026-04-27 15:04:59 +08:00
parent a9f622f211
commit f3c33f70f0
13 changed files with 244 additions and 11 deletions
+13
View File
@@ -108,6 +108,14 @@ export const useLoadingInformationStore = defineStore(
id: -1,
});
// ============================== 地铁站点状态 ================================
const subwayStation = reactive({
/** 加载状态 */
loading: false,
/** 地铁站点ID */
id: -1,
});
/**
* 重置所有状态
*/
@@ -155,6 +163,10 @@ export const useLoadingInformationStore = defineStore(
// 水库状态重置
reservoir.loading = false;
reservoir.id = -1;
// 地铁站点状态重置
subwayStation.loading = false;
subwayStation.id = -1;
};
return {
@@ -169,6 +181,7 @@ export const useLoadingInformationStore = defineStore(
school,
bridge,
reservoir,
subwayStation,
resetStatue,
};