重构组件结构,添加周边分析组件结构(但无具体实现)
This commit is contained in:
@@ -153,6 +153,14 @@ export const useStatusStore = defineStore('status', () => {
|
||||
},
|
||||
});
|
||||
|
||||
// ============================ 地图功能显示状态 ================================
|
||||
const functionStatus = reactive({
|
||||
aroundAnalysis: {
|
||||
show: false,
|
||||
loading: false,
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
* 恢复默认值
|
||||
*/
|
||||
@@ -262,6 +270,12 @@ export const useStatusStore = defineStore('status', () => {
|
||||
show: false,
|
||||
loading: false,
|
||||
};
|
||||
|
||||
// 功能显示状态重置
|
||||
functionStatus.aroundAnalysis = {
|
||||
show: false,
|
||||
loading: false,
|
||||
};
|
||||
};
|
||||
|
||||
return {
|
||||
@@ -270,6 +284,7 @@ export const useStatusStore = defineStore('status', () => {
|
||||
mapLayers,
|
||||
poiLayers,
|
||||
infrastructureLayers,
|
||||
functionStatus,
|
||||
reset,
|
||||
resetScene,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user