forked from drone/command-center-dashboard

chenyao
2025-04-09 cc1aacf766bc902001f460fdfce20a9ec2ea097d
src/store/modules/home.js
@@ -1,17 +1,16 @@
import { set } from 'lodash'
import { EDeviceTypeName } from '@/utils/staticData/enums'
import { getStore, setStore } from '@/utils/store'
const home = {
  state: {
    machineNestDetail: false, // 机巢详情
    machineNestDetail: false, // 机巢长列表
      isEventOverviewDetail: false,//是事件概述详情
      // 用户行政区划中心点
      userAreaPosition: getStore({ name: 'userAreaPosition' }) || {},
      // 用户切换后行政区划中心点
      currentAreaPosition:getStore({ name: 'currentAreaPosition' }) || {},
    singleUavHome: {},
      footActiveIndex: 0,
      isEventOverviewDetail: false,//是事件概述详情
    singleTotal: {}, // 统计单个机巢数据
    // 项目id
    selectedWorkSpaceId: window.localStorage.getItem('bs_workspace_id'),