添加桥梁

This commit is contained in:
zhuangzhuang2000
2026-04-27 14:14:39 +08:00
parent 2b2bf3f5a4
commit 76c9a765fc
16 changed files with 317 additions and 12 deletions
+14
View File
@@ -92,6 +92,14 @@ export const useLoadingInformationStore = defineStore(
id: -1,
});
// ============================== 桥梁状态 ================================
const bridge = reactive({
/** 加载状态 */
loading: false,
/** 桥梁ID */
id: -1,
});
/**
* 重置所有状态
*/
@@ -131,6 +139,10 @@ export const useLoadingInformationStore = defineStore(
// 学校状态重置
school.loading = false;
school.id = -1;
// 桥梁状态重置
bridge.loading = false;
bridge.id = -1;
};
return {
@@ -143,7 +155,9 @@ export const useLoadingInformationStore = defineStore(
fireStation,
storePoints,
school,
bridge,
resetStatue,
};
}
);
+5
View File
@@ -151,6 +151,11 @@ export const useStatusStore = defineStore('status', () => {
show: false,
loading: false,
},
/** 显示地铁 */
showSubway: {
show: false,
loading: false,
},
});
// ============================ 地图功能显示状态 ================================