chenyao
2025-03-13 bdc6d8733ae6eeb3a9762e77dbabe21441336474
src/store/index.ts
@@ -74,6 +74,20 @@
    psdk_widget_values: {},
    speakerAudioPlayStartProgress: {},
  },
  airPortInfo: {
    sn: '',
    workspaceId: '',
    subType: 0,
    name: '',
    longitude: 0,
    latitude: 0,
    isOnline: false,
    height: 0,
    domain: 0,
    dockSn: '',
    deviceType: 0,
    children: {}
  }, // 保存机场信息
  osdVisible: { // osd 显示设备相关信息
    sn: '',
    callsign: '',
@@ -185,6 +199,10 @@
    state.osdVisible = Object.assign({}, info)
    window.localStorage.setItem('bs_osd', JSON.stringify(info))
  },
  // 保存机场信息
  SET_AIRPORT_INFO (state, info) {
    state.airPortInfo = info
  },
  SET_SELECT_WAYLINE_INFO (state, info) {
    state.waylineInfo = info
  },
@@ -241,7 +259,6 @@
  },
  // 设置视角
  SET_CURRENTANGLE (state, currentAngle) {
    console.log('120')
    state.currentAngle = currentAngle
  }
}