build(deps): 添加smooth-scroll插件、axios封装
This commit is contained in:
8
src/service/request/config.ts
Normal file
8
src/service/request/config.ts
Normal file
@ -0,0 +1,8 @@
|
||||
/** 请求超时时间 */
|
||||
export const REQUEST_TIMEOUT = 15 * 1000;
|
||||
|
||||
/** 请求头的content-type类型 */
|
||||
export enum ContentType {
|
||||
json = 'application/json',
|
||||
formUrlEncoded = 'application/x-www-form-urlencoded'
|
||||
}
|
||||
Reference in New Issue
Block a user