From 566d6b647b1b43eaccf5556cba97acdaa1e0f5d3 Mon Sep 17 00:00:00 2001 From: 23688nl <329261568@qq.com> Date: Fri, 30 Sep 2022 10:47:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=9A=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20home=20index=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/config/env.js | 4 ++-- src/views/home/index.vue | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 src/views/home/index.vue diff --git a/.env.development b/.env.development index 85f0b6e0..7c8827db 100644 --- a/.env.development +++ b/.env.development @@ -12,11 +12,11 @@ port= 9988 # 服务端地址 // 陈志荣 本地 - target = http://192.168.18.140:8899 + //target = http://192.168.18.140:8899 //target = http://192.168.18.139:8899 // target = http://192.168.18.136:8899 // 测试端 // target = http://192.168.10.241:32024 // 开发端 -// target = http://192.168.10.241:30646 + target = http://192.168.10.241:30646 diff --git a/src/config/env.js b/src/config/env.js index ec52a770..0f22d4c1 100644 --- a/src/config/env.js +++ b/src/config/env.js @@ -28,7 +28,7 @@ let httpProtocol = 'http'; if (env.NODE_ENV == 'development') { flowIotUrl = 'http://127.0.0.1:1880/#flow/' - hrefHost = "192.168.18.140" + hrefHost = "192.168.10.241" } else if(env.NODE_ENV == 'production') { // if (hrefHost.indexOf('.gkiiot.com') >= 0) { // iotHost = 'iot.gkiiot.com' @@ -43,7 +43,7 @@ if (env.NODE_ENV == 'development') { } else if(env.NODE_ENV == 'test') { } sysWebSocket = sysWebSocket + hrefHost + ( port ? ':'+ port :''); -hrefHostUrl = +hrefHostUrl = iotWebSocketAlarmBaseUrl = sysWebSocket + '/ws/alarm/live'; bigWebSocketUrl = sysWebSocket + '/ws/dev/readData' diff --git a/src/views/home/index.vue b/src/views/home/index.vue new file mode 100644 index 00000000..c64e6194 --- /dev/null +++ b/src/views/home/index.vue @@ -0,0 +1,4 @@ + + \ No newline at end of file