refactor(projects): 文件夹位置规范

This commit is contained in:
Soybean
2021-11-23 10:52:30 +08:00
parent 3fb7a5f709
commit f5a5f44a2b
26 changed files with 60 additions and 192 deletions

View File

@@ -1,9 +1,7 @@
import { createRequest } from './axios';
import { REQUEST_TIMEOUT } from './config';
import { REQUEST_TIMEOUT } from '@/config';
import { createRequest } from './request';
export const request = createRequest({
baseURL: import.meta.env.VITE_HTTP_URL,
timeout: REQUEST_TIMEOUT
});
export { resultMiddleware } from './helpers';