src/stores/toolbox.js
@@ -2,6 +2,9 @@ import { defineStore } from 'pinia'; export const useToolboxStore = defineStore('toolbox', () => { const selectedDistrict = ref(null); // 开关行政区划 const districtStatus = ref(false); // 开关地物标注 const featuresStatus = ref(false); // 开关卫星地图 @@ -18,6 +21,8 @@ const sceneSearchStatus = ref(true); return { selectedDistrict, districtStatus, featuresStatus, satelliteStatus, controlbarStatus,