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 地址