From aaacfcb54e580869fe8c4049c27cd3ab974ff16b Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Wed, 26 Jun 2024 10:31:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B7=B3=E8=BD=AC=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 2 +- src/layouts/LayoutClassic/index.vue | 14 +++++++------- .../assessmentManagement/scoreStandard/index.vue | 5 +++++ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 1c76aff..571b666 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -12,7 +12,7 @@ import router from "@/routers"; const config = { // 默认地址请求地址,可在 .env.*** 文件中修改 - baseURL: import.meta.env.VITE_API_URL as string, + // baseURL: import.meta.env.VITE_API_URL as string, // baseURL: import.meta.env.NODE_ENV=='development' ?'/api' : window.http, // 设置超时时间(10s) timeout: ResultEnum.TIMEOUT as number, diff --git a/src/layouts/LayoutClassic/index.vue b/src/layouts/LayoutClassic/index.vue index 82252c4..c5e2516 100644 --- a/src/layouts/LayoutClassic/index.vue +++ b/src/layouts/LayoutClassic/index.vue @@ -1,10 +1,10 @@