规范化操作

This commit is contained in:
wzy-warehouse
2026-04-18 17:34:46 +08:00
parent da7745b7a9
commit f3fd716352
8 changed files with 107 additions and 62 deletions
+8
View File
@@ -160,6 +160,13 @@ export const useStatusStore = defineStore('status', () => {
// 应用加载状态重置
appLoadingCompleted.value = false;
resetScene();
};
/**
* 重置场景
*/
const resetScene = () => {
// UI 组件显示状态重置
uiComponents.legendShow = {
show: true,
@@ -264,5 +271,6 @@ export const useStatusStore = defineStore('status', () => {
poiLayers,
infrastructureLayers,
reset,
resetScene,
};
});