From fdbcd2c634be672de340c384c4424fa6d3d9f0a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com>
Date: Mon, 8 Aug 2022 11:16:20 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=AE=89=E5=8D=93app?=
=?UTF-8?q?=E4=B8=8B=E8=BD=BD=E4=BA=8C=E7=BB=B4=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 1 +
.env.production | 1 +
src/views/login/index.vue | 15 ++++++++++++++-
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/.env.development b/.env.development
index 4915e04d..6b5bb543 100644
--- a/.env.development
+++ b/.env.development
@@ -8,6 +8,7 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台'
# VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
VUE_APP_WS_API = 'ws://localhost:8000'
VUE_APP_API_BASEURL = http://127.0.0.1:8000/api
+VUE_APP_BASEURL = http://127.0.0.1:8000
# 本地端口
VUE_APP_PORT = 2800
diff --git a/.env.production b/.env.production
index 8e2c55e5..9161d0e7 100644
--- a/.env.production
+++ b/.env.production
@@ -6,3 +6,4 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台'
# 接口地址
VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
+VUE_APP_BASEURL = http://127.0.0.1:8000
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 2fe01659..1338db05 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -38,6 +38,9 @@