From 36a1346b57f5f477ab3c68f4753117f5e833f317 Mon Sep 17 00:00:00 2001 From: bqy_fe <1743369777@qq.com> Date: Fri, 10 Dec 2021 23:06:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(request.ts):=20baseUrl=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.ts b/src/utils/request.ts index 66ea4e3a2..aec5d2f08 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -21,7 +21,7 @@ export interface RequestOptions { const UNKNOWN_ERROR = '未知错误,请重试'; /** 真实请求的路径前缀 */ -const baseApiUrl = process.env.VUE_APP_BASE_API; +const baseApiUrl = process.env.VUE_APP_API_URL; /** mock请求路径前缀 */ const baseMockUrl = process.env.VUE_APP_MOCK_API;