From 6f1f4b41fcec1bcf050621fcf0ec66b3b4063772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E8=AA=89=E7=A8=8B?= <2659568239@qq.com> Date: Fri, 2 Feb 2024 10:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4HARD=5FCODE=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/env/dev.ts | 2 +- src/utils/request.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/env/dev.ts b/src/utils/env/dev.ts index 37087ff..b2f76d9 100644 --- a/src/utils/env/dev.ts +++ b/src/utils/env/dev.ts @@ -3,7 +3,7 @@ export const DEV = { // PROXY_SERVER: 'http://127.0.0.1:8088', LOCAL_URL: 'http://localhost:8000', FILE_URL: 'C:/Users/lyc/Desktop', // 快捷方式储存的路径 - HARD_CODE: false, // 是否写死接口的请求地址 + HARD_CODE: false, // 是否写死接口的请求地址() }; export default DEV; diff --git a/src/utils/request.ts b/src/utils/request.ts index 1c160ea..7738a35 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -1,6 +1,5 @@ import { DEV } from './env/dev' - /** * GET 请求 * @param {string} url - 请求的 URL 地址