添加水库

This commit is contained in:
zhuangzhuang2000
2026-04-27 14:51:50 +08:00
parent 76c9a765fc
commit a9f622f211
16 changed files with 243 additions and 7 deletions
+13
View File
@@ -100,6 +100,14 @@ export const useLoadingInformationStore = defineStore(
id: -1,
});
// ============================== 水库状态 ================================
const reservoir = reactive({
/** 加载状态 */
loading: false,
/** 水库ID */
id: -1,
});
/**
* 重置所有状态
*/
@@ -143,6 +151,10 @@ export const useLoadingInformationStore = defineStore(
// 桥梁状态重置
bridge.loading = false;
bridge.id = -1;
// 水库状态重置
reservoir.loading = false;
reservoir.id = -1;
};
return {
@@ -156,6 +168,7 @@ export const useLoadingInformationStore = defineStore(
storePoints,
school,
bridge,
reservoir,
resetStatue,
};