From 61046a45d1bbd4485f6cb1447da154736ac8dcfb Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 19 Oct 2023 14:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=9F=E5=90=8D=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/index.ts | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/config/index.ts b/src/config/index.ts index b6d5725..efe50ec 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -2,19 +2,11 @@ const config = { terminal: 1, //终端 title: "后台管理系统", //网站默认标题 version: "1.6.0", //版本号 - baseUrl: `${import.meta.env.VITE_APP_BASE_URL}/`, //请求接口域名 + baseUrl: `${ + import.meta.env.VITE_APP_BASE_URL + }/`, //请求接口域名 urlPrefix: "adminapi", //请求默认前缀 timeout: 20 * 1000, //请求超时时长 }; export default config; -// const config = { -// terminal: 1, //终端 -// title: "后台管理系统", //网站默认标题 -// version: "1.6.0", //版本号 -// baseUrl: `https://worker-task.lihaink.cn`, //请求接口域名 -// urlPrefix: "adminapi", //请求默认前缀 -// timeout: 20 * 1000, //请求超时时长 -// }; - -// export default config;