feat(projects): 四种基本布局完成

This commit is contained in:
Soybean
2021-09-09 00:08:09 +08:00
parent 6b7f4cfccb
commit 86d4a207ee
20 changed files with 203 additions and 216 deletions

View File

@ -1,2 +0,0 @@
/** 请求超时时间 */
export const REQUEST_TIMEOUT = 15 * 1000;

View File

@ -1,7 +1,5 @@
import { createRequest } from './request';
import { REQUEST_TIMEOUT } from './config';
export const adminRequest = createRequest({
baseURL: import.meta.env.VITE_HTTP_URL_EMOSS_ADMIN as string,
timeout: REQUEST_TIMEOUT
baseURL: import.meta.env.VITE_HTTP_URL_EMOSS_ADMIN as string
});