From bdc6d8733ae6eeb3a9762e77dbabe21441336474 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Thu, 13 Mar 2025 17:20:36 +0800
Subject: [PATCH] 更新分享
---
src/store/index.ts | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/src/store/index.ts b/src/store/index.ts
index bdde78d..1ad14d8 100644
--- a/src/store/index.ts
+++ b/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
}
}
--
Gitblit v1.9.3