diff --git a/mini-program/.env.development b/mini-program/.env.development index 568c201..4e3a5a0 100644 --- a/mini-program/.env.development +++ b/mini-program/.env.development @@ -1,5 +1,9 @@ # 开发环境配置(本地开发调试) VITE_APP_ENV=dev +# 本地环境 +# VITE_API_BASE_URL=http://localhost:19089/api +# VITE_WS_URL=ws://localhost:19089/ws +# 测试环境 VITE_API_BASE_URL=https://lifescript.happylifeos.com/api VITE_WS_URL=wss://lifescript.happylifeos.com/ws VITE_DEBUG=true diff --git a/mini-program/src/pages/login/index.vue b/mini-program/src/pages/login/index.vue index a5fca19..3c5c2d3 100644 --- a/mini-program/src/pages/login/index.vue +++ b/mini-program/src/pages/login/index.vue @@ -1,19 +1,25 @@