From 58aeb1b4b7fef38bfbba99231c46d1c6572e8712 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 14 Feb 2025 17:32:28 +0800
Subject: [PATCH] 修改一版
---
src/views/DronePilotList.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/DronePilotList.vue b/src/views/DronePilotList.vue
index b1f0a92..f677d5a 100644
--- a/src/views/DronePilotList.vue
+++ b/src/views/DronePilotList.vue
@@ -57,7 +57,7 @@
// 存储设备值
let osdVisible = reactive<any>({})
-const vConsole = new VConsole();
+// const vConsole = new VConsole();
// 点击信息详情
const infoClick = (data:any) => {
@@ -75,6 +75,9 @@
osdVisible.device_domain = data.children.domain || 0
osdVisible.device_sub_type = data.children.sub_type || 1
osdVisible.device_type = data.children.type || 0
+ // osdVisible.domain = data.children.domain || 0
+ // 前端自己加的判断
+ window.sessionStorage.setItem('domain', JSON.stringify(droneOrPilotTxt.value == 'drone'? 0 : 2));
store.commit('SET_OSD_VISIBLE_INFO', osdVisible)
// 跳转操作屏幕
root.$router.push({ path:ERouterName.DRONEPILOTDETAILS })
--
Gitblit v1.9.3