From fe46ec9542a82ed077ee8e98fee205d7479b8b02 Mon Sep 17 00:00:00 2001 From: KuroSago Date: Mon, 24 Jun 2024 21:37:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E6=B5=81=E8=BD=AC?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.development | 4 ++-- env/.env.production | 4 ++-- src/App.vue | 3 --- src/pages.json | 13 +++++++++++++ src/pages/splashScreen/index.vue | 33 ++++++++++++++++++++++++++++++++ src/stores/modules/user.ts | 1 + 6 files changed, 51 insertions(+), 7 deletions(-) create mode 100644 src/pages/splashScreen/index.vue diff --git a/env/.env.development b/env/.env.development index 8c0854b..eec8195 100644 --- a/env/.env.development +++ b/env/.env.development @@ -2,12 +2,12 @@ VITE_ENV=development # 是否使用模拟数据 -VITE_USE_MOCK=true +VITE_USE_MOCK=false VITE_PORT=3000 # BASE_URL -VITE_BASE_URL==/api +VITE_BASE_URL=http://sdtrapi.qxlms.com:9030/ # 上传域名 VITE_UPLOAD_URL=/upload diff --git a/env/.env.production b/env/.env.production index 1753315..b0fff06 100644 --- a/env/.env.production +++ b/env/.env.production @@ -2,10 +2,10 @@ VITE_ENV=production # 是否使用模拟数据 -VITE_USE_MOCK=true +VITE_USE_MOCK=false # api域名 -VITE_BASE_URL=/api/v1 +VITE_BASE_URL=http://sdtrapi.qxlms.com:9030/ # 上传域名 diff --git a/src/App.vue b/src/App.vue index 4dfb86b..6fe725a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,13 +1,10 @@ + + diff --git a/src/stores/modules/user.ts b/src/stores/modules/user.ts index a289107..f9fc4af 100644 --- a/src/stores/modules/user.ts +++ b/src/stores/modules/user.ts @@ -51,6 +51,7 @@ export const useUserStore = defineStore({ // 初始化 async initUserInfo() { // + console.log('initUserInfo'); }, // 登出