From 5fd7f8f7ba92780def48db638f7eaed684403b6a Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期五, 20 六月 2025 17:12:44 +0800 Subject: [PATCH] Merge branch 'master' of http://103.135.160.14:9034/r/NslWeb --- src/views/Home.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index e02a52e..0c1b6e9 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, getSafePoint } from "@/api/hpApi"; +import { getDeviceInfoSHG, getSafePoint } from "@/api/hpApi"; const route = useRoute(); const simStore = useSimStore(); @@ -100,7 +100,6 @@ // 璁$畻灞炴�� const showDetail = computed(() => showDeviceDetail.value); - onMounted(async () => { setupTokenRefresh(); // 鑾峰彇瀹忓浘token // getSimData(); //娴嬭瘯tr鍚庣 @@ -109,7 +108,7 @@ simStore.DangerPoint = res.data.pageData; }); - getDeviceInfo(null, "110116110000").then((res) => { + getDeviceInfoSHG(null).then((res) => { simStore.devices = res.data.pageData; }); try { -- Gitblit v1.9.3