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后端