From 9b5be1af25cde5a81dfdc629271feb9702e25194 Mon Sep 17 00:00:00 2001 From: zk Date: Tue, 19 Dec 2023 10:46:50 +0800 Subject: [PATCH] update --- .env.production | 17 ++++-- index.html | 2 +- package.json | 2 +- .../secondaryScreen/secondMap/secondMap.vue | 8 +-- .../secondMap/secondMapHooks.ts | 2 +- src/hooks/autoRefresh/index.ts | 24 +++++++-- src/hooks/autoRefresh/pageRefreshTime.ts | 10 ++-- src/main.ts | 5 +- src/utils/utils.ts | 2 +- src/views/indexSon.vue | 54 +++++++------------ vite.config.ts | 8 +-- 11 files changed, 76 insertions(+), 58 deletions(-) diff --git a/.env.production b/.env.production index 93e1a12..0a11606 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,18 @@ #后台地址 -VITE_GLOB_API_URL=https://api.cqygjk.com +#VITE_GLOB_API_URL=https://api.cqygjk.com #应急求助-websocket -VITE_GLOB_API_YIN_JI=wss://api.cqygjk.com/health-watch/websocket/watchMonitor +#VITE_GLOB_API_YIN_JI=wss://api.cqygjk.com/health-watch/websocket/watchMonitor #健康监测工具报警-websocket -VITE_GLOB_API_JIAN_CE=wss://api.cqygjk.com/health-emergency/websocket/emergency +#VITE_GLOB_API_JIAN_CE=wss://api.cqygjk.com/health-emergency/websocket/emergency + + +# 王昊地址 +#VITE_GLOB_API_URL=http://192.168.1.3 +#开发环境 +VITE_GLOB_API_URL=http://cqyt.dev.yg.dt.io + +#应急求助-websocket +VITE_GLOB_API_YIN_JI=ws://cqyt.dev.yg.dt.io/health-watch/websocket/watchMonitor +#健康监测工具报警-websocket +VITE_GLOB_API_JIAN_CE=ws://cqyt.dev.yg.dt.io/health-emergency/websocket/emergency diff --git a/index.html b/index.html index a53cfdc..355de39 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ - +