From 116f7bdb280d418c89c24be6566d81dc755ba9d9 Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期五, 20 六月 2025 11:36:16 +0800 Subject: [PATCH] 修改这该si的中科软后端接口的参数 --- 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