From 1188387a47e55590a87c161cb43b2db0729b0146 Mon Sep 17 00:00:00 2001
From: guonan <guonan201020@163.com>
Date: 星期三, 18 六月 2025 17:08:10 +0800
Subject: [PATCH] 修改

---
 src/views/Home.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/Home.vue b/src/views/Home.vue
index 3462f52..e02a52e 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -60,7 +60,7 @@
 import { showDeviceDetail } from "@/store";
 import { setupTokenRefresh, getDangerPoint } from "@/api/hpApi.js";
 import { convertToWKT } from "@/utils/wktUtils";
-import { getDeviceInfo } from "@/api/hpApi";
+import { getDeviceInfo, getSafePoint } from "@/api/hpApi";
 
 const route = useRoute();
 const simStore = useSimStore();
@@ -100,6 +100,7 @@
 // 璁$畻灞炴��
 const showDetail = computed(() => showDeviceDetail.value);
 
+
 onMounted(async () => {
   setupTokenRefresh(); // 鑾峰彇瀹忓浘token
   // getSimData(); //娴嬭瘯tr鍚庣
@@ -108,7 +109,7 @@
     simStore.DangerPoint = res.data.pageData;
   });
 
-  getDeviceInfo(null,"110116110000").then((res) => {
+  getDeviceInfo(null, "110116110000").then((res) => {
     simStore.devices = res.data.pageData;
   });
   try {

--
Gitblit v1.9.3