build(deps): 添加smooth-scroll插件、axios封装

This commit is contained in:
Soybean
2021-05-29 03:02:15 +08:00
parent afd4d04110
commit 82411cc5eb
29 changed files with 504 additions and 24 deletions

View File

@@ -0,0 +1,11 @@
import { createRequest } from './request';
import { REQUEST_TIMEOUT, ContentType } from './config';
export { handleResponse } from './request';
export { ContentType };
// emoss-admin
export const adminRequest = createRequest({
baseURL: import.meta.env.VITE_HTTP_URL_EMOSS_ADMIN as string,
timeout: REQUEST_TIMEOUT
});