From 4b57dc340f08f7c517a5eb255275b91785724c53 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 10 Feb 2025 18:21:21 +0800
Subject: [PATCH] 增加app设备定位和激光扫射定位以及目标高度和测距距离
---
src/views/DronePilotList.vue | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/src/views/DronePilotList.vue b/src/views/DronePilotList.vue
index 7f36a79..b1f0a92 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) => {
@@ -101,16 +101,6 @@
}
onMounted(() => {
-
- // navigator.geolocation.getCurrentPosition(
- // (success) => {
- // console.log(success.coords.longitude, '经纬度')
- // position.value = {
- // latitude: success.coords.latitude,
- // longitude: success.coords.longitude,
- // };
- // })
-
init()
// 设置定时器,每隔 3 秒刷新一次数据
intervalId = setInterval(init, 3000);
--
Gitblit v1.9.3