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 @@