From 68262d0519a8ca4f8f52dd4dc79d40e262371c05 Mon Sep 17 00:00:00 2001 From: Waiting Date: Wed, 22 May 2024 18:02:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=8A=9F=E8=83=BD=E5=B0=81?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/App.vue | 7 ++++--- src/store/modules/user/index.ts | 2 ++ src/utils/common/logger.ts | 30 ++++++++++++++++++++++++++++++ src/utils/request/interceptors.ts | 3 +++ 5 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 src/utils/common/logger.ts diff --git a/.env.production b/.env.production index a029290..e1294b0 100644 --- a/.env.production +++ b/.env.production @@ -5,7 +5,7 @@ VITE_APP_TITLE='uniapp-vue3-project' VITE_APP_ENV='production' # 接口地址 -VITE_APP_BASE_API='http://api.lakeapp.cn/' +VITE_APP_BASE_API='https://api.lakeapp.cn/' # 删除console VITE_DROP_CONSOLE=true diff --git a/src/App.vue b/src/App.vue index 2b36d39..37cbeb2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,8 @@