From a9a5222771acd51d401b7d4ec9e4adf0f2ff48cb Mon Sep 17 00:00:00 2001 From: cxw <1056036578@qq.com> Date: Tue, 3 Jan 2023 09:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E4=BF=AE=E6=94=B9=E8=A7=92?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- .env.production | 4 ++-- .env.staging | 4 ++-- src/components/UserForm/index.vue | 6 +++--- src/views/reagent/client/index.vue | 2 +- src/views/user/index.vue | 19 +++++++++++++++---- 6 files changed, 25 insertions(+), 14 deletions(-) diff --git a/.env.development b/.env.development index 8971a6a..9db14b9 100644 --- a/.env.development +++ b/.env.development @@ -2,5 +2,5 @@ ENV = 'development' # base api -VUE_APP_BASE_API = 'http://127.0.0.1:9001' -VUE_APP_FACE_API = 'http://127.0.0.1:5000' +VUE_APP_BASE_API = 'http://192.168.1.114:9001' +VUE_APP_FACE_API = 'http://192.168.1.114:5000' diff --git a/.env.production b/.env.production index 03db484..b33d4a4 100644 --- a/.env.production +++ b/.env.production @@ -2,6 +2,6 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://127.0.0.1:9001' -VUE_APP_FACE_API ='http://127.0.0.1:5000' +VUE_APP_BASE_API = 'http://192.168.1.114:9001' +VUE_APP_FACE_API ='http://192.168.1.114:5000' diff --git a/.env.staging b/.env.staging index c1452c1..5f4a155 100644 --- a/.env.staging +++ b/.env.staging @@ -4,6 +4,6 @@ NODE_ENV = production ENV = 'staging' # base api -VUE_APP_BASE_API = 'http://127.0.0.1:9001' -VUE_APP_FACE_API='http://127.0.0.1:5000' +VUE_APP_BASE_API = 'http://192.168.1.114:9001' +VUE_APP_FACE_API='http://192.168.1.114:5000' diff --git a/src/components/UserForm/index.vue b/src/components/UserForm/index.vue index 398aa42..8c4ed85 100644 --- a/src/components/UserForm/index.vue +++ b/src/components/UserForm/index.vue @@ -40,7 +40,7 @@ - + - +