From a80e615811c619557dfc9f36976263e269018af9 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Tue, 2 Aug 2022 17:01:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=AD=A6=E4=BF=A1=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 +- .env.production | 2 +- src/views/components/WarehouseWarning.vue | 142 +++++++++++----------- 3 files changed, 73 insertions(+), 79 deletions(-) diff --git a/.env.development b/.env.development index f5296f6..14fa9ae 100644 --- a/.env.development +++ b/.env.development @@ -3,12 +3,12 @@ ENV = 'development' # 接口地址 #内网服务地址 -#VUE_APP_BASE_API = 'http://192.168.99.207:7070' -#VUE_APP_WS_API = 'ws://192.168.99.207:7070' +VUE_APP_BASE_API = 'http://192.168.99.207:7070' +VUE_APP_WS_API = 'ws://192.168.99.207:7071' # 刘力-本地服地址 -VUE_APP_BASE_API = 'http://192.168.99.65:7070' -VUE_APP_WS_API = 'ws://192.168.99.65:7071' +#VUE_APP_BASE_API = 'http://192.168.99.65:7070' +#VUE_APP_WS_API = 'ws://192.168.99.65:7071' # 许镇-本地服地址 #VUE_APP_BASE_API = 'http://192.168.99.84:7070' diff --git a/.env.production b/.env.production index 18c7df6..84a66f7 100644 --- a/.env.production +++ b/.env.production @@ -4,4 +4,4 @@ ENV = 'production' # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http VUE_APP_BASE_API = 'http://192.168.99.207:7070' # 如果接口是 http 形式, wss 需要改为 ws -VUE_APP_WS_API = 'ws://192.168.99.207:7070' +VUE_APP_WS_API = 'ws://192.168.99.207:7071' diff --git a/src/views/components/WarehouseWarning.vue b/src/views/components/WarehouseWarning.vue index 4c658b6..5ed2d48 100644 --- a/src/views/components/WarehouseWarning.vue +++ b/src/views/components/WarehouseWarning.vue @@ -9,14 +9,13 @@ - - - + + +